tests: Convert REGRESSION tests to Autotest framework.
[pspp-builds.git] / tests / command / reliability.sh
index df86fa82771b028654f3c28f4ea01fb0bc86d4d5..7c58145787c71c7ad8e9324457a7876ef7325f0c 100755 (executable)
@@ -11,7 +11,7 @@ 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
 
 STAT_CONFIG_PATH=$top_srcdir/config
 export STAT_CONFIG_PATH
@@ -249,7 +249,7 @@ $SUPERVISOR $PSPP -o pspp.csv $TESTFILE
 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
@@ -259,7 +259,7 @@ Cases,Valid,131,92.91
 ,Total,141,100.00
 
 Table: Reliability Statistics
-Cronbach's Alpha,N of items
+Cronbach's Alpha,N of Items
 .75,4
 
 Scale: Nothing
@@ -290,7 +290,7 @@ Cases,Valid,131,92.91
 ,Total,141,100.00
 
 Table: Reliability Statistics
-Cronbach's Alpha,N of items
+Cronbach's Alpha,N of Items
 .75,4
 
 Table: Item-Total Statistics
@@ -309,7 +309,7 @@ Cases,Valid,131,92.91
 ,Total,141,100.00
 
 Table: Reliability Statistics
-Cronbach's Alpha,N of items
+Cronbach's Alpha,N of Items
 .75,4
 EOF
 if [ $? -ne 0 ] ; then fail ; fi