48 |
cd $TEMPDIR |
cd $TEMPDIR |
49 |
|
|
50 |
activity="create program 1" |
activity="create program 1" |
51 |
cat > $TEMPDIR/out.stat <<EOF |
cat > $TESTFILE <<EOF |
52 |
data list list /id * x1 * x2. |
data list list /id * x1 * x2. |
53 |
begin data. |
begin data. |
54 |
1 3.5 34 |
1 3.5 34 |
64 |
|
|
65 |
|
|
66 |
activity="run program 1" |
activity="run program 1" |
67 |
$SUPERVISOR $here/../src/pspp -o raw-ascii $TEMPDIR/out.stat |
$SUPERVISOR $here/../src/pspp -o raw-ascii $TESTFILE |
68 |
if [ $? -ne 0 ] ; then no_result ; fi |
if [ $? -ne 0 ] ; then no_result ; fi |
69 |
|
|
70 |
activity="copy output" |
activity="copy output" |
73 |
|
|
74 |
|
|
75 |
activity="create program 2" |
activity="create program 2" |
76 |
cat > $TEMPDIR/out.stat <<EOF |
cat > $TESTFILE <<EOF |
77 |
data list list /id * x1 * x2. |
data list list /id * x1 * x2. |
78 |
begin data. |
begin data. |
79 |
1 3.5 34 |
1 3.5 34 |
91 |
if [ $? -ne 0 ] ; then no_result ; fi |
if [ $? -ne 0 ] ; then no_result ; fi |
92 |
|
|
93 |
activity="run program 2" |
activity="run program 2" |
94 |
$SUPERVISOR $here/../src/pspp -o raw-ascii $TEMPDIR/out.stat |
$SUPERVISOR $here/../src/pspp -o raw-ascii $TESTFILE |
95 |
if [ $? -ne 0 ] ; then no_result ; fi |
if [ $? -ne 0 ] ; then no_result ; fi |
96 |
|
|
97 |
activity="compare outputs" |
activity="compare outputs" |