mirror of
https://github.com/drwetter/testssl.sh.git
synced 2024-12-29 04:49:44 +01:00
Fix Actions
this one works locally...
This commit is contained in:
parent
8d817e1dcf
commit
dfbb9f8122
@ -36,6 +36,7 @@ printf "\n%s\n", "Diff unit test IPv4 against \"$uri\"";
|
|||||||
#1 run
|
#1 run
|
||||||
`$prg $check2run $uri 2>&1`;
|
`$prg $check2run $uri 2>&1`;
|
||||||
|
|
||||||
|
$diff = diff $socket_csv, $master_socket_csv;
|
||||||
|
|
||||||
$socket_csv=`cat tmp.csv`;
|
$socket_csv=`cat tmp.csv`;
|
||||||
$master_socket_csv=`cat $master_socket_csv`;
|
$master_socket_csv=`cat $master_socket_csv`;
|
||||||
@ -52,8 +53,6 @@ $master_socket_csv=~ s/censys.io.*\n//g;
|
|||||||
$socket_csv=~ s/HTTP_headerTime.*\n//g;
|
$socket_csv=~ s/HTTP_headerTime.*\n//g;
|
||||||
$master_socket_csv=~ s/HTTP_headerTime.*\n//g;
|
$master_socket_csv=~ s/HTTP_headerTime.*\n//g;
|
||||||
|
|
||||||
$diff = diff $socket_csv, $master_socket_csv;
|
|
||||||
|
|
||||||
# Compare the differences to the master file -- and print differences if there were detected.
|
# Compare the differences to the master file -- and print differences if there were detected.
|
||||||
#
|
#
|
||||||
cmp_ok($socket_csv, "eq", $master_socket_csv, "Check whether CSV output matches master file from $uri") or
|
cmp_ok($socket_csv, "eq", $master_socket_csv, "Check whether CSV output matches master file from $uri") or
|
||||||
|
Loading…
Reference in New Issue
Block a user