X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fxforms%2Fcasefile.sh;h=c7b8906c5f4fdba8812302932d27210d3ae1932e;hb=e5b7f2cd903c84efa0e73449cbcda6d135da1a23;hp=1215b84eab623d26e8ff7eb4192c37b631e428b3;hpb=b9e28aa5614a079548c616bcf97aa804024ad647;p=pspp diff --git a/tests/xforms/casefile.sh b/tests/xforms/casefile.sh index 1215b84eab..c7b8906c5f 100755 --- a/tests/xforms/casefile.sh +++ b/tests/xforms/casefile.sh @@ -9,11 +9,13 @@ here=`pwd`; # ensure that top_srcdir is absolute cd $top_srcdir; top_srcdir=`pwd` -export STAT_CONFIG_PATH=$top_srcdir/config +STAT_CONFIG_PATH=$top_srcdir/config +export STAT_CONFIG_PATH cleanup() { + cd / rm -rf $TEMPDIR } @@ -52,11 +54,12 @@ EOF if [ $? -ne 0 ] ; then no_result ; fi activity="run program" -$SUPERVISOR $here/../src/pspp $TEMPDIR/casefile.stat > $TEMPDIR/casefile.out +$SUPERVISOR $here/../src/pspp --testing-mode $TEMPDIR/casefile.stat > $TEMPDIR/casefile.out if [ $? -ne 0 ] ; then no_result ; fi activity="compare results" -diff -b -B $TEMPDIR/casefile.out - <