]> granicus.if.org Git - curl/commitdiff
runtests.pl: support multiline <postcheck> commands
authorDan Fandrich <dan@coneharvesters.com>
Sat, 29 Apr 2017 08:00:15 +0000 (10:00 +0200)
committerDan Fandrich <dan@coneharvesters.com>
Sat, 29 Apr 2017 08:00:15 +0000 (10:00 +0200)
tests/runtests.pl

index 90a29573a4d3e15827c4fa4dbef507c3cf6006bf..e281e318cdf57101f06570d1d31a874c1c29470e 100755 (executable)
@@ -3793,7 +3793,7 @@ sub singletest {
     # run the postcheck command
     my @postcheck= getpart("client", "postcheck");
     if(@postcheck) {
-        $cmd = $postcheck[0];
+        $cmd = join("", @postcheck);
         chomp $cmd;
         subVariables \$cmd;
         if($cmd) {