X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Fflip.sh;h=97ee5c00dc78daf45cfcb0fc861fe1290fb00e95;hb=b350a68a008217d92eb4cbcd571e322118d4e27a;hp=c7429b32a0a7cfc6315ff00839af4a349bf3415f;hpb=65a4e29574b67921ea899b6a1d45806dca11db00;p=pspp-builds.git diff --git a/tests/command/flip.sh b/tests/command/flip.sh index c7429b32..97ee5c00 100755 --- a/tests/command/flip.sh +++ b/tests/command/flip.sh @@ -9,7 +9,7 @@ TESTFILE=$TEMPDIR/`basename $0`.sps if [ -z "$top_builddir" ] ; then top_builddir=. ; fi if [ -z "$top_srcdir" ] ; then top_srcdir=. ; fi top_builddir=`cd $top_builddir; pwd` -PSPP=$top_builddir/src/ui/terminal/pspp +PSPP=$top_builddir/src/ui/terminal/pspp$EXEEXT # ensure that top_srcdir is absolute top_srcdir=`cd $top_srcdir; pwd` @@ -17,9 +17,15 @@ top_srcdir=`cd $top_srcdir; pwd` STAT_CONFIG_PATH=$top_srcdir/config export STAT_CONFIG_PATH +LANG=C +export LANG cleanup() { + if [ x"$PSPP_TEST_NO_CLEANUP" != x ] ; then + echo "NOT cleaning $TEMPDIR" + return ; + fi cd / rm -rf $TEMPDIR } @@ -54,7 +60,8 @@ cd $TEMPDIR activity="create flip.stat" cat > $TEMPDIR/flip.stat <