projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
output: Fix segfault for writing output outside a command invocation.
[pspp-builds.git]
/
tests
/
bugs
/
random.sh
diff --git
a/tests/bugs/random.sh
b/tests/bugs/random.sh
index 869928d64ad834940d2615bd7db287f7bbba9f04..e423f3e8b4c6318241adc54718902d22a1697b41 100755
(executable)
--- a/
tests/bugs/random.sh
+++ b/
tests/bugs/random.sh
@@
-21,6
+21,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
}
@@
-64,14
+68,14
@@
input program.
+ end case.
+ end loop.
+ end file.
+ end case.
+ end loop.
+ end file.
-end input program.
+end input program.
list.
EOF
if [ $? -ne 0 ] ; then no_result ; fi
activity="run program"
list.
EOF
if [ $? -ne 0 ] ; then no_result ; fi
activity="run program"
-$SUPERVISOR $PSPP -
o raw-ascii
$TESTFILE
+$SUPERVISOR $PSPP -
-testing-mode
$TESTFILE
if [ $? -ne 0 ] ; then no_result ; fi
if [ $? -ne 0 ] ; then no_result ; fi