5 |
|
|
6 |
|
|
7 |
TEMPDIR=/tmp/pspp-tst-$$ |
TEMPDIR=/tmp/pspp-tst-$$ |
8 |
|
TESTFILE=$TEMPDIR/`basename $0`.sps |
9 |
|
|
10 |
here=`pwd`; |
here=`pwd`; |
11 |
|
|
66 |
printf "\n"; |
printf "\n"; |
67 |
|
|
68 |
activity="create program" |
activity="create program" |
69 |
cat > $TEMPDIR/large.sps <<EOF |
cat > $TESTFILE <<EOF |
70 |
DATA LIST FILE='$TEMPDIR/large.dat' /S 1-2 (A) X 3 . |
DATA LIST FILE='$TEMPDIR/large.dat' /S 1-2 (A) X 3 . |
71 |
|
|
72 |
|
|
78 |
if [ $? -ne 0 ] ; then no_result ; fi |
if [ $? -ne 0 ] ; then no_result ; fi |
79 |
|
|
80 |
activity="run program" |
activity="run program" |
81 |
$SUPERVISOR $here/../src/pspp -o raw-ascii $TEMPDIR/large.sps > /dev/null |
$SUPERVISOR $here/../src/pspp -o raw-ascii $TESTFILE > /dev/null |
82 |
if [ $? -ne 0 ] ; then fail ; fi |
if [ $? -ne 0 ] ; then fail ; fi |
83 |
|
|
84 |
activity="appending to data" |
activity="appending to data" |
90 |
if [ $? -ne 0 ] ; then no_result ; fi |
if [ $? -ne 0 ] ; then no_result ; fi |
91 |
|
|
92 |
activity="run program" |
activity="run program" |
93 |
$SUPERVISOR $here/../src/pspp -o raw-ascii $TEMPDIR/large.sps > /dev/null |
$SUPERVISOR $here/../src/pspp -o raw-ascii $TESTFILE > /dev/null |
94 |
if [ $? -ne 0 ] ; then fail ; fi |
if [ $? -ne 0 ] ; then fail ; fi |
95 |
|
|
96 |
pass; |
pass; |