projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pspp: Fix crash passing the name of a nonexistent file on the command line.
[pspp]
/
tests
/
command
/
reliability.sh
diff --git
a/tests/command/reliability.sh
b/tests/command/reliability.sh
index c93440421a613d4ede40d2a7d39e3d3f6dd08eaa..7c58145787c71c7ad8e9324457a7876ef7325f0c 100755
(executable)
--- a/
tests/command/reliability.sh
+++ b/
tests/command/reliability.sh
@@
-11,7
+11,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
@@
-245,11
+245,11
@@
EOF
if [ $? -ne 0 ] ; then no_result ; fi
activity="run program"
if [ $? -ne 0 ] ; then no_result ; fi
activity="run program"
-$SUPERVISOR $PSPP -
-testing-mode -o raw-ascii
$TESTFILE
+$SUPERVISOR $PSPP -
o pspp.csv
$TESTFILE
if [ $? -ne 0 ] ; then no_result ; fi
activity="compare output"
if [ $? -ne 0 ] ; then no_result ; fi
activity="compare output"
-diff -c pspp.csv - << EOF
+diff -c
-b
pspp.csv - << EOF
Scale: Everything
Table: Case Processing Summary
Scale: Everything
Table: Case Processing Summary
@@
-259,7
+259,7
@@
Cases,Valid,131,92.91
,Total,141,100.00
Table: Reliability Statistics
,Total,141,100.00
Table: Reliability Statistics
-Cronbach's Alpha,N of
i
tems
+Cronbach's Alpha,N of
I
tems
.75,4
Scale: Nothing
.75,4
Scale: Nothing
@@
-290,7
+290,7
@@
Cases,Valid,131,92.91
,Total,141,100.00
Table: Reliability Statistics
,Total,141,100.00
Table: Reliability Statistics
-Cronbach's Alpha,N of
i
tems
+Cronbach's Alpha,N of
I
tems
.75,4
Table: Item-Total Statistics
.75,4
Table: Item-Total Statistics
@@
-309,7
+309,7
@@
Cases,Valid,131,92.91
,Total,141,100.00
Table: Reliability Statistics
,Total,141,100.00
Table: Reliability Statistics
-Cronbach's Alpha,N of
i
tems
+Cronbach's Alpha,N of
I
tems
.75,4
EOF
if [ $? -ne 0 ] ; then fail ; fi
.75,4
EOF
if [ $? -ne 0 ] ; then fail ; fi