3 # This program tests the split file command
5 TEMPDIR=/tmp/pspp-tst-$$
9 # ensure that top_srcdir is absolute
10 cd $top_srcdir; top_srcdir=`pwd`
12 export STAT_CONFIG_PATH=$top_srcdir/config
48 activity="create program"
49 cat > $TEMPDIR/split.stat <<EOF
50 title 'Test SPLIT FILE utility'.
52 data list notable /x 1 y 2.
71 if [ $? -ne 0 ] ; then no_result ; fi
73 activity="run program"
74 $SUPERVISOR $here/../src/pspp -o raw-ascii $TEMPDIR/split.stat
75 if [ $? -ne 0 ] ; then no_result ; fi
77 activity="compare results"
78 diff -B -b $TEMPDIR/pspp.list - <<EOF
104 if [ $? -ne 0 ] ; then fail ; fi