2018-07-03 20:49:55 +01:00
|
|
|
if [ -n "$BUILD_DEBUG" ]; then
|
|
|
|
set -x
|
|
|
|
fi
|
2018-07-16 07:41:10 +01:00
|
|
|
#SHELL=${SHELL-bin/gash}
|
|
|
|
SHELL=bin/gash
|
2018-07-03 20:49:55 +01:00
|
|
|
for f in test/*.sh; do
|
|
|
|
echo -n "$f: "
|
|
|
|
b=test/$(basename $f .sh)
|
2018-10-21 14:24:24 +01:00
|
|
|
# $SHELL --geesh -e $f
|
|
|
|
$SHELL -e $f
|
2018-07-03 20:49:55 +01:00
|
|
|
r=$?
|
|
|
|
if [ -f $b.exit ]; then
|
|
|
|
e=$(cat $b.exit)
|
|
|
|
else
|
|
|
|
e=0
|
|
|
|
fi
|
|
|
|
[ $r = $e ] || exit 1
|
|
|
|
echo pass
|
|
|
|
done
|