3 # This program tests for a bug which caused T-TEST to
4 # crash when given invalid syntax
7 TEMPDIR=/tmp/pspp-tst-$$
11 # ensure that top_srcdir is absolute
12 cd $top_srcdir; top_srcdir=`pwd`
14 export STAT_CONFIG_PATH=$top_srcdir/config
50 activity="create program"
51 cat > $TEMPDIR/rnd.sps <<EOF
52 DATA LIST LIST /id * a * .
63 T-TEST /groups=id(3) .
65 if [ $? -ne 0 ] ; then no_result ; fi
67 $SUPERVISOR $here/../src/pspp -o raw-ascii $TEMPDIR/rnd.sps > /dev/null
68 if [ $? -ne 1 ] ; then fail ; fi