Jari Aalto | d166f04 | 1997-06-05 14:59:13 +0000 | [diff] [blame] | 1 | #! /bin/sh |
| 2 | # |
| 3 | # run-minimal - a version of run-all for shells configured with |
| 4 | # --enable-minimal-config |
| 5 | # |
| 6 | PATH=.:$PATH # just to get the right version of printenv |
| 7 | export PATH |
| 8 | |
| 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 |
| 13 | |
| 14 | : ${THIS_SH:=../bash} |
| 15 | export THIS_SH |
| 16 | |
| 17 | ${THIS_SH} ./version.mini |
| 18 | |
Jari Aalto | bb70624 | 2000-03-17 21:46:59 +0000 | [diff] [blame] | 19 | rm -f /tmp/xx |
| 20 | |
Jari Aalto | d166f04 | 1997-06-05 14:59:13 +0000 | [diff] [blame] | 21 | echo Testing ${THIS_SH} |
| 22 | echo Any output from any test, unless otherwise noted, indicates a possible anomaly |
| 23 | for x in run-* |
| 24 | do |
| 25 | case $x in |
| 26 | $0) ;; |
| 27 | *.orig|*~) ;; |
| 28 | run-dollars|run-execscript|run-func|run-getopts|run-heredoc) echo $x ; sh $x ;; |
Jari Aalto | bb70624 | 2000-03-17 21:46:59 +0000 | [diff] [blame] | 29 | run-ifs-tests|run-input-test|run-invert|run-more-exp|run-nquote) echo $x ; sh $x ;; |
Chet Ramey | 495aee4 | 2011-11-22 19:11:26 -0500 | [diff] [blame] | 30 | run-ifs-posix|run-posix2|run-posixpat|run-posixpipe) echo $x ; sh $x ;; |
Jari Aalto | d166f04 | 1997-06-05 14:59:13 +0000 | [diff] [blame] | 31 | run-precedence|run-quote|run-read|run-rhs-exp|run-strip|run-tilde) echo $x ; sh $x ;; |
| 32 | *) ;; |
| 33 | esac |
| 34 | done |
| 35 | |
| 36 | exit 0 |