3 # This program tests for a bug where pspp would crash
4 # when a FREQUENCIES command was used with the html
8 TEMPDIR=/tmp/pspp-tst-$$
9 TESTFILE=$TEMPDIR/`basename $0`.sps
13 # ensure that top_srcdir is absolute
14 cd $top_srcdir ; top_srcdir=`pwd`
16 STAT_CONFIG_PATH=$top_srcdir/config
17 export STAT_CONFIG_PATH
51 activity="create data"
52 cat << EOF > $TESTFILE
54 data list free /v1 v2.
66 if [ $? -ne 0 ] ; then no_result ; fi
71 $SUPERVISOR $here/../src/pspp -o html $TESTFILE
72 if [ $? -ne 0 ] ; then fail ; fi