projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gui: Fix brown-paper-bag bug in output file name selection.
[pspp-builds.git]
/
tests
/
bugs
/
compute-fmt.sh
diff --git
a/tests/bugs/compute-fmt.sh
b/tests/bugs/compute-fmt.sh
index 2626b59521e8dff178ed0f664ea31c4315de3311..0d4a313e26edbb451e38e3dc45c065f558c4cd98 100755
(executable)
--- a/
tests/bugs/compute-fmt.sh
+++ b/
tests/bugs/compute-fmt.sh
@@
-22,6
+22,10
@@
export STAT_CONFIG_PATH
cleanup()
{
cleanup()
{
+ if [ x"$PSPP_TEST_NO_CLEANUP" != x ] ; then
+ echo "NOT cleaning $TEMPDIR"
+ return ;
+ fi
cd /
rm -rf $TEMPDIR
}
cd /
rm -rf $TEMPDIR
}
@@
-55,7
+59,7
@@
mkdir -p $TEMPDIR
cd $TEMPDIR
activity="create program"
cd $TEMPDIR
activity="create program"
-cat > $TE
MPDIR/foo.sps
<<EOF
+cat > $TE
STFILE
<<EOF
INPUT PROGRAM.
COMPUTE num = 3.
END FILE.
INPUT PROGRAM.
COMPUTE num = 3.
END FILE.
@@
-66,7
+70,7
@@
SAVE outfile='$TEMPDIR/temp.sav'.
EOF
if [ $? -ne 0 ] ; then no_result ; fi
EOF
if [ $? -ne 0 ] ; then no_result ; fi
-$SUPERVISOR $PSPP --testing-mode $TE
MPDIR/foo.sps
+$SUPERVISOR $PSPP --testing-mode $TE
STFILE
if [ $? -ne 0 ] ; then fail; fi
if [ $? -ne 0 ] ; then fail; fi