3 # This program tests USE, just to make sure that USE ALL is accepted silently.
5 TEMPDIR=/tmp/pspp-tst-$$
6 TESTFILE=$TEMPDIR/`basename $0`.sps
10 # ensure that top_srcdir is absolute
11 cd $top_srcdir; top_srcdir=`pwd`
13 export STAT_CONFIG_PATH=$top_srcdir/config
49 activity="create program"
50 cat > $TEMPDIR/filter.stat << EOF
51 data list notable /x 1-2.
68 if [ $? -ne 0 ] ; then no_result ; fi
71 activity="run program"
72 $SUPERVISOR $here/../src/pspp --testing-mode -o raw-ascii $TEMPDIR/filter.stat
73 if [ $? -ne 0 ] ; then no_result ; fi
76 activity="check results"
77 diff -B -b $TEMPDIR/pspp.list - << EOF
91 if [ $? -ne 0 ] ; then fail ; fi