Fix double-free bug.
[pspp] / tests / bugs / t-test-alpha.sh
index 093c2cb70c02ae62b34d653777940e204e5f7bbb..6a46939738215ae2002f9e1dd066936f34250c4b 100755 (executable)
@@ -49,8 +49,8 @@ mkdir -p $TEMPDIR
 cd $TEMPDIR
 
 activity="create program"
-cat > $TEMPDIR/out.stat <<EOF
-data list list /id * indep (a1) dep1 * dep2 *.
+cat > $TESTFILE <<EOF
+data list list /ID * INDEP (a1) DEP1 * DEP2 *.
 begin data.
 1  'a' 1 3
 2  'a' 2 4
@@ -72,7 +72,7 @@ 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
 
 activity="compare output"