Imported from ../bash-2.01.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 echo Any output from any test, unless otherwise noted, indicates a possible anomaly
17
18 for x in run-*
19 do
20         case $x in
21         $0|run-minimal) ;;
22         *.orig|*~) ;;
23         *)      echo $x ; sh $x ;;
24         esac
25 done
26
27 exit 0