diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-08-12 09:41:56 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-08-12 09:41:56 +0000 |
commit | 2df4866cfa24920675520a5ccf72340e8e93b757 (patch) | |
tree | d68ce2f50f3b6b207a4fe6148fd3923d76b40b53 /tests | |
parent | 423a1cf4868bb04e06907020393d4b30b2a46c6b (diff) |
redirect stderr to /dev/null when testing for running test-servers
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/runtests.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl index c7c95a222..e9e5049aa 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -156,7 +156,7 @@ sub runhttpserver { $pid = checkserver ($HTTPPIDFILE); # verify if our/any server is running on this port - my $data=`$CURL --silent -i $HOSTIP:$HOSTPORT/verifiedserver`; + my $data=`$CURL --silent -i $HOSTIP:$HOSTPORT/verifiedserver 2>/dev/null`; if ( $data =~ /WE ROOLZ(: |)(\d*)/ ) { if($2) { @@ -242,7 +242,7 @@ sub runftpserver { my $flag=$debugprotocol?"-v ":""; # verify that our server is NOT running on this port: - my $data=`$CURL --silent -i ftp://$HOSTIP:$FTPPORT/verifiedserver`; + my $data=`$CURL --silent -i ftp://$HOSTIP:$FTPPORT/verifiedserver 2>/dev/null`; if ( $data =~ /WE ROOLZ/ ) { print "A previous FTP server session is already running and we ", @@ -262,7 +262,7 @@ sub runftpserver { } # verify that our server is one one running on this port: - my $data=`$CURL --silent -i ftp://$HOSTIP:$FTPPORT/verifiedserver`; + my $data=`$CURL --silent -i ftp://$HOSTIP:$FTPPORT/verifiedserver 2>/dev/null`; if ( $data !~ /WE ROOLZ/ ) { print "Another FTP server is running on port $FTPPORT\n", |