]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[rt46602] Add echo_i function to print I:<testname>:string
authorOndřej Surý <ondrej@sury.org>
Wed, 18 Oct 2017 12:19:28 +0000 (14:19 +0200)
committerEvan Hunt <each@isc.org>
Sun, 25 Feb 2018 17:14:47 +0000 (09:14 -0800)
(cherry picked from commit f7ac41757a880577519a464583648065d9987bbd)
(cherry picked from commit bd5b36f7a465bd232f4f5521096fd132e9a43118)
(cherry picked from commit cdc72937d61aadc25a2f214421c389c66d97c80c)

bin/tests/system/conf.sh.in

index e409d4dae999bc673dc2b8618197ad2306cdcacd..3c357ddd8f336f93d33beae0384abdd2fad9a788 100644 (file)
@@ -167,6 +167,12 @@ else
        }
 fi
 
+TESTNAME="`basename $PWD`"
+
+echo_i() {
+    echoinfo "I:$TESTNAME:$@"
+}
+
 #
 # Export command paths
 #