From: Dan Fandrich Date: Sat, 29 Apr 2017 08:00:15 +0000 (+0200) Subject: runtests.pl: support multiline commands X-Git-Tag: curl-7_54_1~216 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2ce86d8509fa49d371af60d26bd934f90b99aeff;p=thirdparty%2Fcurl.git runtests.pl: support multiline commands --- diff --git a/tests/runtests.pl b/tests/runtests.pl index 90a29573a4..e281e318cd 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -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) {