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
/
shbang.sh
diff --git
a/tests/bugs/shbang.sh
b/tests/bugs/shbang.sh
index 826d5dc4d898cff3983404316b677d5fc84259f7..607e4a77ddbb80949ecb1c81049a11e7bc9f25df 100755
(executable)
--- a/
tests/bugs/shbang.sh
+++ b/
tests/bugs/shbang.sh
@@
-12,7
+12,7
@@
if [ -z "$top_builddir" ] ; then top_builddir=. ; fi
top_srcdir=`cd $top_srcdir; pwd`
top_builddir=`cd $top_builddir; pwd`
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
STAT_CONFIG_PATH=$top_srcdir/config
export STAT_CONFIG_PATH
STAT_CONFIG_PATH=$top_srcdir/config
export STAT_CONFIG_PATH
@@
-69,17
+69,17
@@
if [ $? -ne 0 ] ; then no_result ; fi
activity="run program"
activity="run program"
-$SUPERVISOR $PSPP -
-testing-mode
-e /dev/null $TESTFILE
+$SUPERVISOR $PSPP -
o pspp.csv
-e /dev/null $TESTFILE
if [ $? -ne 0 ] ; then fail ; fi
activity="compare output"
if [ $? -ne 0 ] ; then fail ; fi
activity="compare output"
-perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.
list
-diff -b -w $TEMPDIR/pspp.
list
- << EOF
- a
---------
-
1.00
-
2.00
+perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.
csv
+diff -b -w $TEMPDIR/pspp.
csv
- << EOF
+Table: Data List
+a
+1.00
+2.00
EOF
if [ $? -ne 0 ] ; then fail ; fi
EOF
if [ $? -ne 0 ] ; then fail ; fi