Fix arg type for expr_parse.
[pspp] / tests / bugs / t-test-alpha.sh
index 23771c497bb8843e33ff529a8f4819e28c3626aa..73392c323299bfd2abc0188c8a7ca3a9b0a43229 100755 (executable)
@@ -5,6 +5,7 @@
 # BUG #11227
 
 TEMPDIR=/tmp/pspp-tst-$$
+TESTFILE=$TEMPDIR/`basename $0`.sps
 
 here=`pwd`;
 
@@ -48,7 +49,7 @@ mkdir -p $TEMPDIR
 cd $TEMPDIR
 
 activity="create program"
-cat > $TEMPDIR/out.stat <<EOF
+cat > $TESTFILE <<EOF
 data list list /id * indep (a1) dep1 * dep2 *.
 begin data.
 1  'a' 1 3
@@ -71,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"