Fix Actions

this one works locally...
This commit is contained in:
Dirk Wetter 2022-05-30 13:37:07 +02:00
parent 8d817e1dcf
commit dfbb9f8122

View File

@ -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