aboutsummaryrefslogtreecommitdiffstats
path: root/tests/run-all
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-all')
-rw-r--r--tests/run-all14
1 files changed, 9 insertions, 5 deletions
diff --git a/tests/run-all b/tests/run-all
index c4badc6..8a959a1 100644
--- a/tests/run-all
+++ b/tests/run-all
@@ -1,16 +1,20 @@
#! /bin/sh
-PATH=.:$PATH # just to get the right version of printenv
+PATH=.:$PATH # just to get recho/zecho/printenv if not run via `make tests'
export PATH
-# unset ENV only if it is set
-[ "${ENV+set}" = "set" ] && unset ENV
+# unset BASH_ENV only if it is set
+[ "${BASH_ENV+set}" = "set" ] && unset BASH_ENV
+# ditto for SHELLOPTS
+#[ "${SHELLOPTS+set}" = "set" ] && unset SHELLOPTS
: ${THIS_SH:=../bash}
export THIS_SH
-echo Testing ${THIS_SH}
-echo Any output from any test indicates an anomaly worth investigating
+${THIS_SH} ./version
+
+echo Any output from any test, unless otherwise noted, indicates a possible anomaly
+
for x in run-*
do
case $x in