3 # This program tests for a bug where pspp would crash if two frequencies
4 # Commands existed in a input file
6 TEMPDIR=/tmp/pspp-tst-$$
7 TESTFILE=$TEMPDIR/`basename $0`.sps
11 # ensure that top_srcdir is absolute
12 cd $top_srcdir; top_srcdir=`pwd`
15 STAT_CONFIG_PATH=$top_srcdir/config
16 export STAT_CONFIG_PATH
52 activity="create data"
53 cat << EOF > $TEMPDIR/ff.stat
55 data list free /v1 v2.
66 if [ $? -ne 0 ] ; then no_result ; fi
72 $SUPERVISOR $here/../src/pspp $TEMPDIR/ff.stat
73 if [ $? -ne 0 ] ; then fail ; fi