3 |
# This program tests the EXAMINE command. |
# This program tests the EXAMINE command. |
4 |
|
|
5 |
TEMPDIR=/tmp/pspp-tst-$$ |
TEMPDIR=/tmp/pspp-tst-$$ |
6 |
|
TESTFILE=$TEMPDIR/`basename $0`.sps |
7 |
|
|
8 |
here=`pwd`; |
here=`pwd`; |
9 |
|
|
47 |
cd $TEMPDIR |
cd $TEMPDIR |
48 |
|
|
49 |
activity="create program" |
activity="create program" |
50 |
cat > $TEMPDIR/out.stat <<EOF |
cat > $TESTFILE <<EOF |
51 |
DATA LIST LIST /quality * w * brand * . |
DATA LIST LIST /quality * w * brand * . |
52 |
BEGIN DATA |
BEGIN DATA |
53 |
3 1 1 |
3 1 1 |
86 |
|
|
87 |
|
|
88 |
activity="run program" |
activity="run program" |
89 |
$SUPERVISOR $here/../src/pspp -o raw-ascii $TEMPDIR/out.stat |
$SUPERVISOR $here/../src/pspp -o raw-ascii $TESTFILE |
90 |
if [ $? -ne 0 ] ; then no_result ; fi |
if [ $? -ne 0 ] ; then no_result ; fi |
91 |
|
|
92 |
# NOTE: In the following data: Only the extreme values have been checked |
# NOTE: In the following data: Only the extreme values have been checked |