@@ -25,18 +25,18 @@ die "Unable to open $prg" unless -f $prg;
2525die " Unable to open $distro_openssl " unless -f $distro_openssl ;
2626
2727# Provide proper start conditions
28- unlink " tmp.csv " ;
29- unlink " tmp2.csv " ;
28+ unlink $csvfile ;
29+ unlink $csvfile2 ;
3030
3131# 1 run
3232printf " \n %s \n " , " Diff test IPv4 with supplied openssl against \" $uri \" " ;
33- @args =" $prg $check2run $csvfile $uri 2>&1 " ;
33+ @args =" $prg $check2run $csvfile $uri >/dev/null " ;
3434system (" @args " ) == 0
3535 or die (" FAILED: \" @args \" " );
3636
3737# 2
3838printf " \n %s \n " , " Diff test IPv4 with $distro_openssl against \" $uri \" " ;
39- @args =" $prg $check2run $csvfile2 --openssl=$distro_openssl $uri 2>&1 " ;
39+ @args =" $prg $check2run $csvfile2 --openssl=$distro_openssl $uri >/dev/null " ;
4040system (" @args " ) == 0
4141 or die (" FAILED: \" @args \" " );
4242
@@ -63,6 +63,10 @@ $cat_csvfile =~ s/ECDH\/MLKEM/ECDH 253 /g;
6363$cat_csvfile =~ s / .nonce-.* // g ;
6464$cat_csvfile2 =~ s / .nonce-.* // g ;
6565
66+ +# Fix IP adresses. needed when we don't hit the same IP address. We just remove them
67+ $cat_csvfile =~ s / ","google.com\/ .*","443/ ","google.com","443/ ;
68+ $cat_csvfile2 =~ s / ","google.com\/ .*","443/ ","google.com","443/ ;
69+
6670$diff = diff \$cat_csvfile , \$cat_csvfile2 ;
6771
6872# Compare the differences -- and print them if there were any
0 commit comments