aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/runtests.pl16
1 files changed, 13 insertions, 3 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index be8cb87c7..d905c9b7b 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -483,9 +483,17 @@ sub singletest {
writearray($filename, \@inputfile);
}
+ my %cmdhash = getpartattr("client", "command");
+
my $out="";
- if (!@validstdout) {
- $out="--output $CURLOUT ";
+
+ if($cmdhash{'option'} eq "no-output") {
+ #print "*** We don't slap on --output\n";
+ }
+ else {
+ if (!@validstdout) {
+ $out="--output $CURLOUT ";
+ }
}
# run curl, add -v for debug information output
@@ -832,7 +840,9 @@ if($testthis[0] ne "") {
# Output curl version and host info being tested
#
-displaydata();
+if(!$listonly) {
+ displaydata();
+}
#######################################################################
# clear and create logging directory: