Imported from ../bash-2.04.tar.gz.
[platform/upstream/bash.git] / tests / run-all
1 #! /bin/sh
2
3 PATH=.:$PATH    # just to get recho/zecho/printenv if not run via `make tests'
4 export PATH
5
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
10
11 : ${THIS_SH:=../bash}
12 export THIS_SH
13
14 ${THIS_SH} ./version
15
16 rm -f /tmp/xx
17
18 echo Any output from any test, unless otherwise noted, indicates a possible anomaly
19
20 for x in run-*
21 do
22         case $x in
23         $0|run-minimal|run-gprof)       ;;
24         *.orig|*~) ;;
25         *)      echo $x ; sh $x ;;
26         esac
27 done
28
29 exit 0