runtests: log more commands in verbose mode

... to aid tracking down failures
This commit is contained in:
Daniel Stenberg 2013-04-25 23:40:01 +02:00
parent 4dc2d965d6
commit 27777949a0
1 changed files with 3 additions and 1 deletions

View File

@ -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\'");