47 |
cd $TEMPDIR |
cd $TEMPDIR |
48 |
|
|
49 |
activity="create program" |
activity="create program" |
50 |
cat > $TEMPDIR/file-lab.stat << EOF |
cat > $TESTFILE << EOF |
|
|
|
51 |
|
|
52 |
/* Set up a dummy active file in memory. |
/* Set up a dummy active file in memory. |
53 |
data list /x 1 y 2. |
data list /x 1 y 2. |
74 |
display file label. /* undocumented feature of PSPP |
display file label. /* undocumented feature of PSPP |
75 |
|
|
76 |
/* Save the active file then get it and display the documents again. |
/* Save the active file then get it and display the documents again. |
77 |
save 'foo.save'. |
save /OUTFILE='foo.save'. |
78 |
get 'foo.save'. |
get /FILE='foo.save'. |
79 |
display documents. |
display documents. |
80 |
display file label. /* undocumented feature of PSPP |
display file label. /* undocumented feature of PSPP |
81 |
|
|
93 |
display documents. |
display documents. |
94 |
|
|
95 |
/* Save and get. |
/* Save and get. |
96 |
save 'foo.save'. |
save /OUTFILE='foo.save'. |
97 |
get 'foo.save'. |
get /FILE='foo.save'. |
98 |
display documents. |
display documents. |
99 |
display file label. /* undocumented feature of PSPP |
display file label. /* undocumented feature of PSPP |
100 |
|
|
104 |
if [ $? -ne 0 ] ; then no_result ; fi |
if [ $? -ne 0 ] ; then no_result ; fi |
105 |
|
|
106 |
activity="run program" |
activity="run program" |
107 |
$SUPERVISOR $here/../src/pspp --testing-mode -o raw-ascii $TEMPDIR/file-lab.stat |
$SUPERVISOR $here/../src/pspp --testing-mode -o raw-ascii $TESTFILE |
108 |
if [ $? -ne 0 ] ; then no_result ; fi |
if [ $? -ne 0 ] ; then no_result ; fi |
109 |
|
|
110 |
# We need to filter out the dates/times |
# We need to filter out the dates/times |