projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: Convert expression parsing test to Autotest framework.
[pspp]
/
tests
/
bugs
/
compression.sh
diff --git
a/tests/bugs/compression.sh
b/tests/bugs/compression.sh
index d2147237e2d8cb8ee1e1669c2ebf212facf766db..dadc88365a6e9386d835add4a241ae6753f54d9c 100755
(executable)
--- a/
tests/bugs/compression.sh
+++ b/
tests/bugs/compression.sh
@@
-10,9
+10,10
@@
if [ -z "$top_srcdir" ] ; then top_srcdir=. ; fi
if [ -z "$top_builddir" ] ; then top_builddir=. ; fi
top_srcdir=`cd $top_srcdir; pwd`
top_builddir=`cd $top_builddir; pwd`
if [ -z "$top_builddir" ] ; then top_builddir=. ; fi
top_srcdir=`cd $top_srcdir; pwd`
top_builddir=`cd $top_builddir; pwd`
-PSPP=$top_builddir/src/ui/terminal/pspp
+PSPP=$top_builddir/src/ui/terminal/pspp
$EXEEXT
-export STAT_CONFIG_PATH=$top_srcdir/config
+STAT_CONFIG_PATH=$top_srcdir/config
+export STAT_CONFIG_PATH
cleanup()
cleanup()
@@
-21,6
+22,7
@@
cleanup()
echo "NOT cleaning $TEMPDIR"
return ;
fi
echo "NOT cleaning $TEMPDIR"
return ;
fi
+ cd /
rm -rf $TEMPDIR
}
rm -rf $TEMPDIR
}
@@
-72,7
+74,7
@@
if [ $? -ne 0 ] ; then no_result ; fi
activity="run program"
activity="run program"
-$SUPERVISOR $PSPP -
-testing-mode
$TESTFILE
+$SUPERVISOR $PSPP -
o pspp.csv
$TESTFILE
if [ $? -ne 0 ] ; then fail ; fi
# Make sure the file really was compressed
if [ $? -ne 0 ] ; then fail ; fi
# Make sure the file really was compressed