3 # This program tests that the T-TEST
4 # works ok with a TEMPORARY transformation
6 TEMPDIR=/tmp/pspp-tst-$$
7 TESTFILE=$TEMPDIR/`basename $0`.sps
11 # ensure that top_srcdir is absolute
12 cd $top_srcdir; top_srcdir=`pwd`
14 STAT_CONFIG_PATH=$top_srcdir/config
15 export STAT_CONFIG_PATH
52 activity="create program"
54 data list list /ind * x * .
64 t-test /groups=ind(1,2) /var x.
66 if [ $? -ne 0 ] ; then no_result ; fi
69 activity="run program"
70 $SUPERVISOR $here/../src/pspp -o raw-ascii $TESTFILE
71 if [ $? -ne 0 ] ; then no_result ; fi
73 activity="copy output"
74 cp $TEMPDIR/pspp.list $TEMPDIR/first.list
75 if [ $? -ne 0 ] ; then no_result ; fi
77 activity="create program 2"
79 data list list /ind * x * .
93 t-test /groups=ind(1,2) /var x.
95 if [ $? -ne 0 ] ; then no_result ; fi
97 activity="compare output"
98 diff -B -b $TEMPDIR/pspp.list $TEMPDIR/first.list
99 if [ $? -ne 0 ] ; then fail ; fi