mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-06-30 17:09:50 +02:00
24 lines
391 B
Bash
24 lines
391 B
Bash
#! /bin/sh
|
|
|
|
PATH=.:$PATH # just to get the right version of printenv
|
|
export PATH
|
|
|
|
# unset ENV only if it is set
|
|
[ "${ENV+set}" = "set" ] && unset ENV
|
|
|
|
: ${THIS_SH:=../bash}
|
|
export THIS_SH
|
|
|
|
echo Testing ${THIS_SH}
|
|
echo Any output from any test indicates an anomaly worth investigating
|
|
for x in run-*
|
|
do
|
|
case $x in
|
|
$0|run-minimal) ;;
|
|
*.orig|*~) ;;
|
|
*) echo $x ; sh $x ;;
|
|
esac
|
|
done
|
|
|
|
exit 0
|