Patch-ID: bash32-029
[bash.git] / tests / run-minimal
blob5c5dcc4987582017c99d1b46ca4166ee305a3c05
1 #! /bin/sh
3 # run-minimal - a version of run-all for shells configured with
4 # --enable-minimal-config
6 PATH=.:$PATH # just to get the right version of printenv
7 export PATH
9 # unset BASH_ENV only if it is set
10 [ "${BASH_ENV+set}" = "set" ] && unset BASH_ENV
11 # ditto for SHELLOPTS
12 #[ "${SHELLOPTS+set}" = "set" ] && unset SHELLOPTS
14 : ${THIS_SH:=../bash}
15 export THIS_SH
17 ${THIS_SH} ./version.mini
19 rm -f /tmp/xx
21 echo Testing ${THIS_SH}
22 echo Any output from any test, unless otherwise noted, indicates a possible anomaly
23 for x in run-*
25 case $x in
26 $0) ;;
27 *.orig|*~) ;;
28 run-dollars|run-execscript|run-func|run-getopts|run-heredoc) echo $x ; sh $x ;;
29 run-ifs-tests|run-input-test|run-invert|run-more-exp|run-nquote) echo $x ; sh $x ;;
30 run-ifs-0posix|run-posix2|run-posixpat) echo $x ; sh $x ;;
31 run-precedence|run-quote|run-read|run-rhs-exp|run-strip|run-tilde) echo $x ; sh $x ;;
32 *) ;;
33 esac
34 done
36 exit 0