X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fbugs%2Fcompression.sh;h=dadc88365a6e9386d835add4a241ae6753f54d9c;hb=fe425c89a0080e781a6fb67e36d050c74cb50c09;hp=885846eebbc98d936620f439eec74d6d298820c5;hpb=74cfe5c070a0810cf43c0981daa53dcea3a8ee3d;p=pspp diff --git a/tests/bugs/compression.sh b/tests/bugs/compression.sh index 885846eebb..dadc88365a 100755 --- a/tests/bugs/compression.sh +++ b/tests/bugs/compression.sh @@ -10,7 +10,7 @@ if [ -z "$top_srcdir" ] ; then top_srcdir=. ; fi if [ -z "$top_builddir" ] ; then top_builddir=. ; fi top_srcdir=`cd $top_srcdir; pwd` top_builddir=`cd $top_builddir; pwd` -PSPP=$top_builddir/src/ui/terminal/pspp +PSPP=$top_builddir/src/ui/terminal/pspp$EXEEXT STAT_CONFIG_PATH=$top_srcdir/config export STAT_CONFIG_PATH @@ -22,6 +22,7 @@ cleanup() echo "NOT cleaning $TEMPDIR" return ; fi + cd / rm -rf $TEMPDIR } @@ -73,7 +74,7 @@ if [ $? -ne 0 ] ; then no_result ; fi activity="run program" -$SUPERVISOR $PSPP --testing-mode $TESTFILE +$SUPERVISOR $PSPP -o pspp.csv $TESTFILE if [ $? -ne 0 ] ; then fail ; fi # Make sure the file really was compressed