projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implemented long variable names a la spss V12.
[pspp-builds.git]
/
tests
/
bugs
/
get.sh
diff --git
a/tests/bugs/get.sh
b/tests/bugs/get.sh
index d6c3f7936a360fc29677624eecd5735e1b1ff5c4..bc8192a98dddd39efa68d437e6b7cff0efc47d9b 100755
(executable)
--- a/
tests/bugs/get.sh
+++ b/
tests/bugs/get.sh
@@
-1,7
+1,7
@@
#!/bin/sh
# This program tests for a bug which caused
#!/bin/sh
# This program tests for a bug which caused
-# the second procedure after GET FILE to corrupt it
'
s output
+# the second procedure after GET FILE to corrupt its output
TEMPDIR=/tmp/pspp-tst-$$
TEMPDIR=/tmp/pspp-tst-$$
@@
-49,7
+49,7
@@
mkdir -p $TEMPDIR
cd $TEMPDIR
activity="create program"
cd $TEMPDIR
activity="create program"
-cat > $TE
MPDIR/prog.sps
<<EOF
+cat > $TE
STFILE
<<EOF
DATA LIST LIST NOTABLE /location * editor * shell * freq * .
BEGIN DATA.
1.00 1.00 1.0 2.00
DATA LIST LIST NOTABLE /location * editor * shell * freq * .
BEGIN DATA.
1.00 1.00 1.0 2.00
@@
-75,11
+75,14
@@
LIST.
EOF
if [ $? -ne 0 ] ; then no_result ; fi
EOF
if [ $? -ne 0 ] ; then no_result ; fi
+
activity="run program"
activity="run program"
-$SUPERVISOR $here/../src/pspp -o raw-ascii $TE
MPDIR/prog.sps
+$SUPERVISOR $here/../src/pspp -o raw-ascii $TE
STFILE
if [ $? -ne 0 ] ; then no_result ; fi
if [ $? -ne 0 ] ; then no_result ; fi
+
+
activity="compare output"
diff -b -B -w $TEMPDIR/pspp.list - << EOF
LOCATION EDITOR SHELL FREQ
activity="compare output"
diff -b -B -w $TEMPDIR/pspp.list - << EOF
LOCATION EDITOR SHELL FREQ