X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Fimport-export.sh;h=e63eb2f8af91c3956dc488aed2c7cbe17aeefd82;hb=6549c9aced0949b16abb372257772fc0893e02bb;hp=8b88937f905972166a17c4cb2899c3036aea15ed;hpb=65a4e29574b67921ea899b6a1d45806dca11db00;p=pspp diff --git a/tests/command/import-export.sh b/tests/command/import-export.sh index 8b88937f90..e63eb2f8af 100755 --- a/tests/command/import-export.sh +++ b/tests/command/import-export.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` @@ -20,6 +20,10 @@ export STAT_CONFIG_PATH cleanup() { + if [ x"$PSPP_TEST_NO_CLEANUP" != x ] ; then + echo "NOT cleaning $TEMPDIR" + return ; + fi cd / rm -rf $TEMPDIR } @@ -57,7 +61,7 @@ cat > $TESTFILE <