mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-12-11 01:34:01 +01:00
Add autoflush thingy for MAcOS
This commit is contained in:
@@ -24,6 +24,9 @@ printf "\n%s\n", "Doing severity level checks";
|
||||
die "Unable to open $prg" unless -f $prg;
|
||||
unlink 'tmp.json';
|
||||
|
||||
# useful against "failed to flush stdout" messages
|
||||
STDOUT->autoflush(1);
|
||||
|
||||
#1
|
||||
pass(" .. running testssl.sh against $uri to create a JSON report with severity level >= LOW (may take 2~3 minutes)"); $tests++;
|
||||
$out = `$prg $check2run --jsonfile tmp.json $uri`;
|
||||
|
||||
Reference in New Issue
Block a user