projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make the expression code a little nicer and fix bugs found
[pspp-builds.git]
/
tests
/
command
/
beg-data.sh
diff --git
a/tests/command/beg-data.sh
b/tests/command/beg-data.sh
index 382e2a036594c327b3700e3892805927872c3395..d7131f096394bce42005b4e30c6e2e0a3191431f 100755
(executable)
--- a/
tests/command/beg-data.sh
+++ b/
tests/command/beg-data.sh
@@
-49,12
+49,6
@@
activity="create program"
cat > $TEMPDIR/prog.sps << EOF_foobar
title 'Test BEGIN DATA ... END DATA'.
cat > $TEMPDIR/prog.sps << EOF_foobar
title 'Test BEGIN DATA ... END DATA'.
-remark EOF
-----------------------------------------------------------------------
-First we show that we can input data with BEGIN DATA/END DATA after
-a procedure.
-----------------------------------------------------------------------
-EOF
data list /A B 1-2.
list.
begin data.
data list /A B 1-2.
list.
begin data.
@@
-65,11
+59,6
@@
begin data.
90
end data.
90
end data.
-remark EOF
-----------------------------------------------------------------------
-Next we show that BEGIN DATA/END DATA work fine on their own as well.
-----------------------------------------------------------------------
-EOF
data list /A B 1-2.
begin data.
09
data list /A B 1-2.
begin data.
09
@@
-89,11
+78,6
@@
if [ $? -ne 0 ] ; then no_result ; fi
activity="compare data"
diff -b -B $TEMPDIR/pspp.list - << foobar
activity="compare data"
diff -b -B $TEMPDIR/pspp.list - << foobar
-----------------------------------------------------------------------
-First we show that we can input data with BEGIN DATA/END DATA after
-a procedure.
-----------------------------------------------------------------------
-
1.1 DATA LIST. Reading 1 record from the command file.
+--------+------+-------+------+
|Variable|Record|Columns|Format|
1.1 DATA LIST. Reading 1 record from the command file.
+--------+------+-------+------+
|Variable|Record|Columns|Format|
@@
-110,10
+94,6
@@
A B
7 8
9 0
7 8
9 0
-----------------------------------------------------------------------
-Next we show that BEGIN DATA/END DATA work fine on their own as well.
-----------------------------------------------------------------------
-
2.1 DATA LIST. Reading 1 record from the command file.
+--------+------+-------+------+
|Variable|Record|Columns|Format|
2.1 DATA LIST. Reading 1 record from the command file.
+--------+------+-------+------+
|Variable|Record|Columns|Format|