mirror of
https://github.com/drwetter/testssl.sh.git
synced 2026-07-15 03:27:38 +02:00
perl-style grep for mac
so skip the while thing
This commit is contained in:
+5
-1
@@ -9,7 +9,10 @@ my $tests = 0;
|
||||
my $prg="testssl.sh";
|
||||
my $os="$^O";
|
||||
|
||||
|
||||
if ( $os eq "darwin" ){
|
||||
printf "%s\n", "Skipping checks";
|
||||
exit 0;
|
||||
}
|
||||
|
||||
#1
|
||||
printf "\n%s\n", "Testing for missing vars at left hand side in double square brackets ...";
|
||||
@@ -20,6 +23,7 @@ is(scalar(@matches), 0, "Checking bad '[[ LHS' patterns")
|
||||
or diag(@matches);
|
||||
$tests++;
|
||||
|
||||
|
||||
#2
|
||||
printf "\n%s\n", "Testing for backticks ...";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user