From 2ce86d8509fa49d371af60d26bd934f90b99aeff Mon Sep 17 00:00:00 2001
From: Dan Fandrich <dan@coneharvesters.com>
Date: Sat, 29 Apr 2017 10:00:15 +0200
Subject: [PATCH] runtests.pl: support multiline <postcheck> commands

---
 tests/runtests.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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) {