summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/init.cfg12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/init.cfg b/tests/init.cfg
index 97dad175e..2270c0d18 100644
--- a/tests/init.cfg
+++ b/tests/init.cfg
@@ -399,4 +399,16 @@ retry_delay_()
test "$time_fail" = 0
}
+# Call this with a list of programs under test immediately after
+# sourcing init.sh.
+print_ver_()
+{
+ if test "$VERBOSE" = yes; then
+ local i
+ for i in $*; do
+ env $i --version
+ done
+ fi
+}
+
sanitize_path_