Implemented long variable names a la spss V12.
[pspp-builds.git] / tests / bugs / get.sh
index d6c3f7936a360fc29677624eecd5735e1b1ff5c4..bc8192a98dddd39efa68d437e6b7cff0efc47d9b 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 # This program tests for a bug which caused
-# the second procedure after GET FILE to corrupt it's output
+# the second procedure after GET FILE to corrupt its output
 
 
 TEMPDIR=/tmp/pspp-tst-$$
@@ -49,7 +49,7 @@ mkdir -p $TEMPDIR
 cd $TEMPDIR
 
 activity="create program"
-cat > $TEMPDIR/prog.sps <<EOF
+cat > $TESTFILE <<EOF
 DATA LIST LIST NOTABLE /location * editor * shell * freq * .
 BEGIN DATA.
     1.00     1.00    1.0     2.00
@@ -75,11 +75,14 @@ LIST.
 EOF
 if [ $? -ne 0 ] ; then no_result ; fi
 
+
 activity="run program"
-$SUPERVISOR $here/../src/pspp -o raw-ascii $TEMPDIR/prog.sps
+$SUPERVISOR $here/../src/pspp -o raw-ascii $TESTFILE
 if [ $? -ne 0 ] ; then no_result ; fi
 
 
+
+
 activity="compare output"
 diff -b -B -w $TEMPDIR/pspp.list - << EOF
 LOCATION   EDITOR    SHELL     FREQ