projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Redraw affected areas after de-selecting a region
[pspp-builds.git]
/
tests
/
bugs
/
comment-at-eof.sh
diff --git
a/tests/bugs/comment-at-eof.sh
b/tests/bugs/comment-at-eof.sh
index 638347482325983ec4e87310b73d36627e0f8853..342f9bc08ab95eeeb7531e97087c4206d678372a 100755
(executable)
--- a/
tests/bugs/comment-at-eof.sh
+++ b/
tests/bugs/comment-at-eof.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
}
@@
-54,12
+58,12
@@
mkdir -p $TEMPDIR
cd $TEMPDIR
activity="create program"
cd $TEMPDIR
activity="create program"
-cat > $TE
MPDIR/foo.sps
<<EOF
+cat > $TE
STFILE
<<EOF
COMMENT this is a comment at end of file.
EOF
if [ $? -ne 0 ] ; then no_result ; fi
COMMENT this is a comment at end of file.
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
pass;
if [ $? -ne 0 ] ; then fail; fi
pass;