projects
/
platform
/
upstream
/
bash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported from ../bash-2.0.tar.gz.
[platform/upstream/bash.git]
/
tests
/
run-all
diff --git
a/tests/run-all
b/tests/run-all
old mode 100755
(executable)
new mode 100644
(file)
index
7add688
..
c4badc6
--- a/
tests/run-all
+++ b/
tests/run-all
@@
-1,14
+1,20
@@
#! /bin/sh
#! /bin/sh
-PATH=.:$PATH
# just to get the right version of printenv
+PATH=.:$PATH # just to get the right version of printenv
export PATH
export PATH
-unset ENV
+# unset ENV only if it is set
+[ "${ENV+set}" = "set" ] && unset ENV
+
+: ${THIS_SH:=../bash}
+export THIS_SH
+
+echo Testing ${THIS_SH}
echo Any output from any test indicates an anomaly worth investigating
for x in run-*
do
case $x in
echo Any output from any test indicates an anomaly worth investigating
for x in run-*
do
case $x in
- $0
)
;;
+ $0
|run-minimal)
;;
*.orig|*~) ;;
*) echo $x ; sh $x ;;
esac
*.orig|*~) ;;
*) echo $x ; sh $x ;;
esac