3 # This program tests for a bug which caused a crash when
4 # a large number of cases where presented.
7 TEMPDIR=/tmp/pspp-tst-$$
8 TESTFILE=$TEMPDIR/`basename $0`.sps
12 # ensure that top_srcdir is absolute
13 cd $top_srcdir; top_srcdir=`pwd`
15 export STAT_CONFIG_PATH=$top_srcdir/config
51 activity="create program"
52 cat > $TEMPDIR/foo.sps <<EOF
63 /STATISTICS=DESCRIPTIVES.
65 if [ $? -ne 0 ] ; then no_result ; fi
67 activity="run program"
68 $SUPERVISOR $here/../src/pspp -o raw-ascii $TEMPDIR/foo.sps > /dev/null
69 if [ $? -ne 0 ] ; then fail ; fi