Loading tests/runtests.pl +20 −15 Original line number Diff line number Diff line Loading @@ -345,6 +345,9 @@ sub singletest { next; } # remove previous server output logfile unlink($SERVERIN); # name of the test open(N, "<$TESTDIR/name$NUMBER.txt") || print "** Couldn't read name on test $NUMBER\n"; Loading Loading @@ -464,6 +467,7 @@ sub singletest { } if(-r $SERVERIN) { if(! -r $PROT) { print "** Missing protocol file for test $NUMBER", ", should be similar to $SERVERIN\n"; Loading @@ -472,8 +476,8 @@ sub singletest { # The strip pattern below is for stripping off User-Agent: since # that'll be different in all versions, and the lines in a # RFC1876-post that are randomly generated and therefore are doomed to # always differ! # RFC1876-post that are randomly generated and therefore are # doomed to always differ! # verify the sent request $res = compare($SERVERIN, $PROT, "protocol", Loading @@ -481,6 +485,7 @@ sub singletest { if($res) { return 1; } } # remove the stdout and stderr files unlink($STDOUT); Loading Loading
tests/runtests.pl +20 −15 Original line number Diff line number Diff line Loading @@ -345,6 +345,9 @@ sub singletest { next; } # remove previous server output logfile unlink($SERVERIN); # name of the test open(N, "<$TESTDIR/name$NUMBER.txt") || print "** Couldn't read name on test $NUMBER\n"; Loading Loading @@ -464,6 +467,7 @@ sub singletest { } if(-r $SERVERIN) { if(! -r $PROT) { print "** Missing protocol file for test $NUMBER", ", should be similar to $SERVERIN\n"; Loading @@ -472,8 +476,8 @@ sub singletest { # The strip pattern below is for stripping off User-Agent: since # that'll be different in all versions, and the lines in a # RFC1876-post that are randomly generated and therefore are doomed to # always differ! # RFC1876-post that are randomly generated and therefore are # doomed to always differ! # verify the sent request $res = compare($SERVERIN, $PROT, "protocol", Loading @@ -481,6 +485,7 @@ sub singletest { if($res) { return 1; } } # remove the stdout and stderr files unlink($STDOUT); Loading