4 |
|
|
5 |
|
|
6 |
TEMPDIR=/tmp/pspp-tst-$$ |
TEMPDIR=/tmp/pspp-tst-$$ |
7 |
|
TESTFILE=$TEMPDIR/`basename $0`.sps |
8 |
|
|
9 |
here=`pwd`; |
here=`pwd`; |
10 |
|
|
48 |
cd $TEMPDIR |
cd $TEMPDIR |
49 |
|
|
50 |
activity="create program" |
activity="create program" |
51 |
cat > $TEMPDIR/rnd.sps <<EOF |
cat > $TESTFILE <<EOF |
52 |
set seed=10. |
set seed=10. |
53 |
input program. |
input program. |
54 |
+ loop #i = 1 to 20. |
+ loop #i = 1 to 20. |
65 |
if [ $? -ne 0 ] ; then no_result ; fi |
if [ $? -ne 0 ] ; then no_result ; fi |
66 |
|
|
67 |
activity="run program" |
activity="run program" |
68 |
$SUPERVISOR $here/../src/pspp -o raw-ascii $TEMPDIR/rnd.sps |
$SUPERVISOR $here/../src/pspp -o raw-ascii $TESTFILE |
69 |
if [ $? -ne 0 ] ; then no_result ; fi |
if [ $? -ne 0 ] ; then no_result ; fi |
70 |
|
|
71 |
|
|