]> 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)
committerEvan Hunt <each@isc.org>
Sun, 25 Feb 2018 03:52:58 +0000 (19:52 -0800)
(cherry picked from commit 1f07c69f25ea8679be5645857020d860e3084b57)
(cherry picked from commit 6602a31229147e95b5c7258232ca2b51d45f39ff)

bin/tests/system/conf.sh.in

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