Check on MacOS returned not ok

This commit is contained in:
Dirk
2026-07-11 17:12:50 +02:00
parent 20a632844b
commit ed07c763e1
+4 -3
View File
@@ -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";