summaryrefslogtreecommitdiff
path: root/tests/runtests.pl
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2017-04-29 10:00:15 +0200
committerDan Fandrich <dan@coneharvesters.com>2017-04-29 10:00:15 +0200
commit2ce86d8509fa49d371af60d26bd934f90b99aeff (patch)
treee7a46aa36dd023ca042e25ca5bf3ed3766a546f9 /tests/runtests.pl
parent4da846a41ed19f2a81357d30cf210bf4616a8798 (diff)
downloadcurl-2ce86d8509fa49d371af60d26bd934f90b99aeff.tar.gz
runtests.pl: support multiline <postcheck> commands
Diffstat (limited to 'tests/runtests.pl')
-rwxr-xr-xtests/runtests.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index 90a29573a..e281e318c 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) {