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 STAT_CONFIG_PATH=$top_srcdir/config
14 export STAT_CONFIG_PATH
51 activity="create program"
52 cat > $TESTFILE << EOF
65 if [ $? -ne 0 ] ; then no_result ; fi
68 activity="run_program"
69 $SUPERVISOR $here/../src/pspp $TESTFILE > /dev/null
70 if [ $? -ne 0 ] ; then fail ; fi