test case 38 added a few new requirements
authorDaniel Stenberg <daniel@haxx.se>
Tue, 8 Jan 2002 09:32:41 +0000 (09:32 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 8 Jan 2002 09:32:41 +0000 (09:32 +0000)
tests/runtests.pl

index be8cb87..d905c9b 100755 (executable)
@@ -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: