Fix double-free bug.
[pspp] / tests / command / sample.sh
index 56a1bb30c425cba16c7e0d15d70ba5abc00ead56..6dfe00c9817066fe2c68e65e978fbc207d1dfa8f 100755 (executable)
@@ -3,6 +3,7 @@
 # This program tests the SAMPLE function
 
 TEMPDIR=/tmp/pspp-tst-$$
+TESTFILE=$TEMPDIR/`basename $0`.sps
 
 here=`pwd`;
 
@@ -50,7 +51,7 @@ activity="create program"
 cat > $TEMPDIR/sample.stat <<EOF
 set seed=3
 
-data list notable /a 1-2.
+data list notable /A 1-2.
 begin data.
 1
 2