New implementation of long variable names. Each variable has a
[pspp-builds.git] / tests / command / oneway.sh
index 98b242ffc2623a81c042250e062d8e450b308dd9..22e88456895c137d3fc7253d2b9b2c623df9aee7 100755 (executable)
@@ -47,8 +47,8 @@ mkdir -p $TEMPDIR
 cd $TEMPDIR
 
 activity="create program"
-cat > $TEMPDIR/out.stat <<EOF
-DATA LIST LIST /quality * brand * .
+cat > $TESTFILE <<EOF
+DATA LIST LIST /QUALITY * BRAND * .
 BEGIN DATA
 3 1
 2 1
@@ -75,18 +75,18 @@ VALUE LABELS /brand 1 'Aspeger' 2 'Bloggs' 3 'Charlies'.
 ONEWAY
        quality BY brand
        /STATISTICS descriptives homogeneity
-       /CONTRASTS =  -2 1 1 
-       /CONTRASTS = 0 -1 1
+       /CONTRAST =  -2 1 1 
+       /CONTRAST = 0 -1 1
        .
 EOF
 if [ $? -ne 0 ] ; then no_result ; fi
 
 
 activity="run program"
-$SUPERVISOR $here/../src/pspp -o raw-ascii $TEMPDIR/out.stat
+$SUPERVISOR $here/../src/pspp -o raw-ascii $TESTFILE
 if [ $? -ne 0 ] ; then no_result ; fi
 
-diff $TEMPDIR/pspp.list - << EOF
+diff -b -B $TEMPDIR/pspp.list - << EOF
 1.1 DATA LIST.  Reading free-form data from the command file.
 +--------+------+
 |Variable|Format|