From: Daniel Stenberg Date: Thu, 25 Apr 2013 21:40:01 +0000 (+0200) Subject: runtests: log more commands in verbose mode X-Git-Tag: curl-7_31_0~114 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=27777949a09c362abc921d15a6260d42e99cd377;p=thirdparty%2Fcurl.git runtests: log more commands in verbose mode ... to aid tracking down failures --- diff --git a/tests/runtests.pl b/tests/runtests.pl index ae6ce278e8..809230ce54 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -494,7 +494,9 @@ sub checktestcmd { # sub runclient { my ($cmd)=@_; - return system($cmd); + my $ret = system($cmd); + print "CMD ($ret): $cmd\n" if($verbose); + return $ret; # This is one way to test curl on a remote machine # my $out = system("ssh $CLIENTIP cd \'$pwd\' \\; \'$cmd\'");