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 STAT_CONFIG_PATH=$top_srcdir/config
14 export STAT_CONFIG_PATH
51 activity="create program"
52 cat > $TEMPDIR/filter.stat << EOF
53 data list notable /X 1-2.
70 if [ $? -ne 0 ] ; then no_result ; fi
73 activity="run program"
74 $SUPERVISOR $here/../src/pspp --testing-mode -o raw-ascii $TEMPDIR/filter.stat
75 if [ $? -ne 0 ] ; then no_result ; fi
78 activity="check results"
79 diff -B -b $TEMPDIR/pspp.list - << EOF
93 if [ $? -ne 0 ] ; then fail ; fi