3 # This program tests for a bug which caused a crash after SAVE FILE
4 # was called on a COMPUTEd variable
7 TEMPDIR=/tmp/pspp-tst-$$
8 TESTFILE=$TEMPDIR/`basename $0`.sps
12 # ensure that top_srcdir is absolute
13 cd $top_srcdir; top_srcdir=`pwd`
15 STAT_CONFIG_PATH=$top_srcdir/config
16 export STAT_CONFIG_PATH
53 activity="create program"
54 cat > $TEMPDIR/foo.sps <<EOF
61 SAVE outfile='$TEMPDIR/temp.sav'.
63 if [ $? -ne 0 ] ; then no_result ; fi
65 $SUPERVISOR $here/../src/pspp -o raw-ascii $TEMPDIR/foo.sps
66 if [ $? -ne 0 ] ; then fail; fi