X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Froc2.sh;h=7976a6e4ae42f88ae56843e46742c58450de02ef;hb=refs%2Fheads%2Fpivot-table;hp=a8020b0c26c6c6f901cf1ce203fb69c5a35ac859;hpb=3224d60c2fdf7fd1fff123fe79fc9c999deaec5b;p=pspp diff --git a/tests/command/roc2.sh b/tests/command/roc2.sh index a8020b0c26..7976a6e4ae 100755 --- a/tests/command/roc2.sh +++ b/tests/command/roc2.sh @@ -101,30 +101,22 @@ EOF if [ $? -ne 0 ] ; then no_result ; fi activity="run program" -$SUPERVISOR $PSPP --testing-mode $TESTFILE +$SUPERVISOR $PSPP -o pspp.csv $TESTFILE if [ $? -ne 0 ] ; then no_result ; fi activity="compare results" -perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list -diff -b $TEMPDIR/pspp.list - << EOF -1.1 ROC. Case Summary -#========#===================# -# # Valid N (listwise)# -# #==========#========# -#a #Unweighted|Weighted# -#========#==========#========# -#Positive# 14| 14.000# -#Negative# 14| 14.000# -#========#==========#========# -1.2 ROC. Area Under the Curve (x) -#====#==========#===============#=======================# -# | | | Asymp. 95% Confidence # -# | | +-----------+-----------# -#Area|Std. Error|Asymptotic Sig.|Lower Bound|Upper Bound# -#====#==========#===============#===========#===========# -#.490| .111| .927| .307| .673# -#====#==========#===============#===========#===========# +diff -c $TEMPDIR/pspp.csv - << EOF +Table: Case Summary +,Valid N (listwise), +a,Unweighted,Weighted +Positive,14,14.000 +Negative,14,14.000 + +Table: Area Under the Curve (x) +,,,Asymp. 95% Confidence Interval, +Area,Std. Error,Asymptotic Sig.,Lower Bound,Upper Bound +.490,.111,.927,.307,.673 EOF if [ $? -ne 0 ] ; then fail ; fi