]> 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 17:27:12 +0000 (09:27 -0800)
(cherry picked from commit 1f07c69f25ea8679be5645857020d860e3084b57)
(cherry picked from commit 6602a31229147e95b5c7258232ca2b51d45f39ff)
(cherry picked from commit c136a2fdb2ab99c2364c01995d7b981fe453c6c7)

bin/tests/system/conf.sh.in

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