projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ensure that psppire's --help and --version options work even without an X server.
[pspp-builds.git]
/
tests
/
command
/
insert.sh
diff --git
a/tests/command/insert.sh
b/tests/command/insert.sh
index c6d1464cdc1c738cfdd9509740cbfd61b0288347..4bcb96fedc2330c319c69ed82faa3d632be39cea 100755
(executable)
--- a/
tests/command/insert.sh
+++ b/
tests/command/insert.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
@@
-92,7
+92,7
@@
if [ $? -ne 0 ] ; then no_result ; fi
#This command should fail
activity="run program 1"
#This command should fail
activity="run program 1"
-$SUPERVISOR $PSPP -
-testing-mode -o raw-ascii
$TESTFILE > /dev/null
+$SUPERVISOR $PSPP -
o pspp.csv
$TESTFILE > /dev/null
if [ $? -eq 0 ] ; then fail ; fi
if [ $? -eq 0 ] ; then fail ; fi
@@
-110,7
+110,7
@@
EOF
if [ $? -ne 0 ] ; then no_result ; fi
activity="run program 2"
if [ $? -ne 0 ] ; then no_result ; fi
activity="run program 2"
-$SUPERVISOR $PSPP -
-testing-mode -o raw-ascii
$TESTFILE
+$SUPERVISOR $PSPP -
o pspp.csv
$TESTFILE
if [ $? -ne 0 ] ; then fail ; fi
if [ $? -ne 0 ] ; then fail ; fi
@@
-158,7
+158,7
@@
if [ $? -ne 0 ] ; then no_result ; fi
# This command should fail
activity="run program 3"
# This command should fail
activity="run program 3"
-$SUPERVISOR $PSPP -
-testing-mode -o raw-ascii
$TESTFILE > /dev/null
+$SUPERVISOR $PSPP -
o pspp.csv
$TESTFILE > /dev/null
if [ $? -eq 0 ] ; then fail ; fi
activity="create wrapper 6"
if [ $? -eq 0 ] ; then fail ; fi
activity="create wrapper 6"
@@
-174,7
+174,7
@@
EOF
if [ $? -ne 0 ] ; then no_result ; fi
activity="run program 4"
if [ $? -ne 0 ] ; then no_result ; fi
activity="run program 4"
-$SUPERVISOR $PSPP -
-testing-mode -o raw-ascii
$TESTFILE
+$SUPERVISOR $PSPP -
o pspp.csv
$TESTFILE
if [ $? -ne 0 ] ; then fail ; fi
if [ $? -ne 0 ] ; then fail ; fi
@@
-210,7
+210,7
@@
EOF
if [ $? -ne 0 ] ; then no_result ; fi
activity="run program 5"
if [ $? -ne 0 ] ; then no_result ; fi
activity="run program 5"
-$SUPERVISOR $PSPP -
-testing-mode -o raw-ascii
$TESTFILE > /dev/null
+$SUPERVISOR $PSPP -
o pspp.csv
$TESTFILE > /dev/null
if [ $? -ne 1 ] ; then no_result ; fi
activity="examine output 1"
if [ $? -ne 1 ] ; then no_result ; fi
activity="examine output 1"
@@
-237,7
+237,7
@@
EOF
if [ $? -ne 0 ] ; then no_result ; fi
activity="run program 6"
if [ $? -ne 0 ] ; then no_result ; fi
activity="run program 6"
-$SUPERVISOR $PSPP -
-testing-mode -o raw-ascii
$TESTFILE > /dev/null
+$SUPERVISOR $PSPP -
o pspp.csv
$TESTFILE > /dev/null
if [ $? -ne 1 ] ; then no_result ; fi
activity="examine output 2"
if [ $? -ne 1 ] ; then no_result ; fi
activity="examine output 2"
@@
-268,7
+268,7
@@
if [ $? -ne 0 ] ; then no_result ; fi
#This command should fail
activity="run program 7"
#This command should fail
activity="run program 7"
-$SUPERVISOR $PSPP -
-testing-mode -o raw-ascii
$TESTFILE > /dev/null
+$SUPERVISOR $PSPP -
o pspp.csv
$TESTFILE > /dev/null
if [ $? -eq 0 ] ; then no_result ; fi
pass;
if [ $? -eq 0 ] ; then no_result ; fi
pass;