sh test/run or sh ./test/run, neither should cause a spurious regression failure

This commit is contained in:
John Kerl 2015-08-30 22:18:23 -04:00
parent 6b45f7e531
commit a354fd8175

View file

@ -19,7 +19,11 @@
# ================================================================
set -e
ourdir=`dirname $0`
verb=$0
if [ "$verb" = "test/run" ]; then
verb=./test/run
fi
ourdir=`dirname $verb`
mlr=$ourdir/../mlr
indir=$ourdir/input
expdir=$ourdir/expected