3 # This program tests the DATA LIST input program.
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 # Create command file.
49 activity="create program"
50 cat > $TEMPDIR/data-list.stat << EOF
51 data list free/A B C D.
68 data list free (tab)/A B C D.
89 if [ $? -ne 0 ] ; then no_result ; fi
92 activity="run program"
93 $SUPERVISOR $here/../src/pspp --testing-mode -o raw-ascii --testing-mode $TEMPDIR/data-list.stat # > $TEMPDIR/errs
94 if [ $? -ne 0 ] ; then fail ; fi
96 activity="compare output"
97 diff -b -B $TEMPDIR/pspp.list - << EOF
99 -------- -------- -------- --------
108 -------- -------- -------- --------
126 if [ $? -ne 0 ] ; then fail ; fi