3 # This program tests for a bug which crashed pspp when using LAG
5 TEMPDIR=/tmp/pspp-tst-$$
6 TESTFILE=$TEMPDIR/`basename $0`.sps
10 # ensure that top_srcdir is absolute
11 cd $top_srcdir; top_srcdir=`pwd`
13 export STAT_CONFIG_PATH=$top_srcdir/config
49 activity="create program"
50 cat > $TESTFILE << EOF
63 if [ $? -ne 0 ] ; then no_result ; fi
66 activity="run_program"
67 $SUPERVISOR $here/../src/pspp $TESTFILE > /dev/null
68 if [ $? -ne 0 ] ; then fail ; fi