aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2013-04-25 23:40:01 +0200
committerDaniel Stenberg <daniel@haxx.se>2013-04-25 23:40:01 +0200
commit27777949a09c362abc921d15a6260d42e99cd377 (patch)
tree9f8af9edf7153c84b4a764af62275cb6f751482e /tests
parent4dc2d965d68adda0ed5578ee5ddbf31f03c7cd9e (diff)
runtests: log more commands in verbose mode
... to aid tracking down failures
Diffstat (limited to 'tests')
-rwxr-xr-xtests/runtests.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index ae6ce278e..809230ce5 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\'");