]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[rt46602] Handle echoing of multi-line output from tests
authorStephen Morris <stephen@isc.org>
Wed, 20 Dec 2017 19:11:20 +0000 (19:11 +0000)
committerStephen Morris <stephen@isc.org>
Thu, 22 Feb 2018 11:13:58 +0000 (11:13 +0000)
(cherry picked from commit 1f07c69f25ea8679be5645857020d860e3084b57)

bin/tests/system/conf.sh.in

index d2a176058910cbb8885eeb99dccc1d0c9633a532..c0c1e6d50d09e18d099b730266d674a20607b0e7 100644 (file)
@@ -218,7 +218,9 @@ fi
 TESTNAME="`basename $PWD`"
 
 echo_i() {
-    echoinfo "I:$TESTNAME:$@"
+    echo "$@" | while read LINE ; do
+       echoinfo "I:$TESTNAME:$LINE"
+    done
 }
 
 #