mirror of
https://github.com/drwetter/testssl.sh.git
synced 2026-07-15 11:37:40 +02:00
Check on MacOS returned not ok
This commit is contained in:
+4
-3
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user