Patch-ID: bash32-029
[bash.git] / tests / run-all
blobd3f3a0e9cc4e81c179b0237bc85724edba08a0ad
1 #! /bin/sh
3 PATH=.:$PATH # just to get recho/zecho/printenv if not run via `make tests'
4 export PATH
6 # unset BASH_ENV only if it is set
7 [ "${BASH_ENV+set}" = "set" ] && unset BASH_ENV
8 # ditto for SHELLOPTS
9 #[ "${SHELLOPTS+set}" = "set" ] && unset SHELLOPTS
11 : ${THIS_SH:=../bash}
12 export THIS_SH
14 ${THIS_SH} ./version
16 rm -f /tmp/xx
18 echo Any output from any test, unless otherwise noted, indicates a possible anomaly
20 for x in run-*
22 case $x in
23 $0|run-minimal|run-gprof) ;;
24 *.orig|*~) ;;
25 *) echo $x ; sh $x ;;
26 esac
27 done
29 exit 0