3 # run-minimal - a version of run-all for shells configured with
4 # --enable-minimal-config
10 # basic /bin/sh syntax
11 SUFFIX
=`${THIS_SH} -c 'echo $(( $RANDOM + $BASHPID ))'`
13 BASH_TSTOUT
=${TMPDIR}/bashtst-
$SUFFIX # for now
16 trap 'rm -f $BASH_TSTOUT' 0
18 PATH
=.
:$PATH # just to get the right version of printenv
21 # unset BASH_ENV only if it is set
22 [ "${BASH_ENV+set}" = "set" ] && unset BASH_ENV
24 #[ "${SHELLOPTS+set}" = "set" ] && unset SHELLOPTS
29 ${THIS_SH} .
/version.mini
33 echo Testing
${THIS_SH}
34 echo Any output from any
test, unless otherwise noted
, indicates a possible anomaly
40 run-dollars|run-execscript|run-func|run-getopts|run-heredoc
) echo $x ; sh
$x ;;
41 run-ifs-tests|run-input-test|run-invert|run-more-exp|run-nquote
) echo $x ; sh
$x ;;
42 run-ifs-posix|run-posix2|run-posixpat|run-posixpipe
) echo $x ; sh
$x ;;
43 run-precedence|run-quote|run-read|run-rhs-exp|run-strip|run-tilde
) echo $x ; sh
$x ;;
44 run-dynvar
) echo $x ; sh
$x ;;