mirror of
https://github.com/drwetter/testssl.sh.git
synced 2026-06-23 08:47:38 +02:00
reflect renaming the variable
and u+x the script
This commit is contained in:
Regular → Executable
+2
-2
@@ -29,7 +29,7 @@ system("@args") == 0
|
||||
$cat_csv=`cat $csv`;
|
||||
|
||||
# github.com is on the preload list
|
||||
like($cat_csv, qr/"HSTS_preloadlist".*"preloaded"/,"\"$uri\" should be on the HSTS preload list");
|
||||
like($cat_csv, qr/"HSTS_preloadAPI".*"preloaded"/,"\"$uri\" should be on the HSTS preload list");
|
||||
$tests++;
|
||||
unlink $csv;
|
||||
|
||||
@@ -41,7 +41,7 @@ system("@args") == 0
|
||||
$cat_csv=`cat $csv`;
|
||||
|
||||
# example.com is not on the preload list
|
||||
like($cat_csv, qr/"HSTS_preloadlist".*"no entry"/,"\"$uri\" should not be on the HSTS preload list");
|
||||
like($cat_csv, qr/"HSTS_preloadAPI".*"no entry"/,"\"$uri\" should not be on the HSTS preload list");
|
||||
$tests++;
|
||||
unlink $csv;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user