c4badc6bca74ddcaee5c002ff42ac4fbc5f325da
[platform/upstream/bash.git] / tests / run-all
1 #! /bin/sh
2
3 PATH=.:$PATH    # just to get the right version of printenv
4 export PATH
5
6 # unset ENV only if it is set
7 [ "${ENV+set}" = "set" ] && unset ENV
8
9 : ${THIS_SH:=../bash}
10 export THIS_SH
11
12 echo Testing ${THIS_SH}
13 echo Any output from any test indicates an anomaly worth investigating
14 for x in run-*
15 do
16         case $x in
17         $0|run-minimal) ;;
18         *.orig|*~) ;;
19         *)      echo $x ; sh $x ;;
20         esac
21 done
22
23 exit 0