From ed07c763e17feb87f0fe4ea82e5c23e708f2f135 Mon Sep 17 00:00:00 2001 From: Dirk Date: Sat, 11 Jul 2026 17:12:50 +0200 Subject: [PATCH] Check on MacOS returned not ok --- t/03_syntax_check.t | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/t/03_syntax_check.t b/t/03_syntax_check.t index 6bad130..5b7a75c 100755 --- a/t/03_syntax_check.t +++ b/t/03_syntax_check.t @@ -10,8 +10,9 @@ my $prg="testssl.sh"; my $os="$^O"; if ( $os eq "darwin" ){ - printf "%s\n", "Skipping checks"; - exit 0; + printf "%s\n", "Skipping checks on MacOS"; + printf "\n"; + done_testing($tests); } #1 @@ -23,6 +24,7 @@ is(scalar(@matches), 0, "Checking bad '[[ LHS' patterns") or diag(@matches); $tests++; +# The following works only on GNU grep #2 printf "\n%s\n", "Testing for backticks ..."; @@ -53,7 +55,6 @@ $tests++; #my @matches = qx(grep -nP '\beval\b' $prg); - # more would go here printf "\n";