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 export STAT_CONFIG_PATH=$top_srcdir/config
50 activity="create data"
51 cat << EOF > $TESTFILE
53 data list free /v1 v2.
65 if [ $? -ne 0 ] ; then no_result ; fi
70 $SUPERVISOR $here/../src/pspp -o html $TESTFILE
71 if [ $? -ne 0 ] ; then fail ; fi