runtests: make stripfile work on stdout as well

... and have test 1700 use that to strip out the nghttpx server: headers
This commit is contained in:
Daniel Stenberg 2016-06-03 23:54:06 +02:00
parent bf05606ef1
commit d3b5c153af
4 changed files with 29 additions and 8 deletions

View file

@ -72,4 +72,4 @@ my $cmdline="$nghttpx --backend=127.0.0.1,8990 ".
"--pid-file=$pidfile ".
"--errorlog-file=$logfile";
print "RUN: $cmdline\n" if($verbose);
system("$cmdline");
system("$cmdline 2>/dev/null");