projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix Bug #11955.
[pspp-builds.git]
/
tests
/
command
/
beg-data.sh
diff --git
a/tests/command/beg-data.sh
b/tests/command/beg-data.sh
index d7131f096394bce42005b4e30c6e2e0a3191431f..4820ab660fea114384da1ede0e2bc812ab678703 100755
(executable)
--- a/
tests/command/beg-data.sh
+++ b/
tests/command/beg-data.sh
@@
-3,6
+3,7
@@
# This program tests the BEGIN DATA / END DATA commands
TEMPDIR=/tmp/pspp-tst-$$
# This program tests the BEGIN DATA / END DATA commands
TEMPDIR=/tmp/pspp-tst-$$
+TESTFILE=$TEMPDIR/`basename $0`.sps
here=`pwd`;
here=`pwd`;
@@
-46,7
+47,7
@@
mkdir -p $TEMPDIR
cd $TEMPDIR
activity="create program"
cd $TEMPDIR
activity="create program"
-cat > $TE
MPDIR/prog.sps
<< EOF_foobar
+cat > $TE
STFILE
<< EOF_foobar
title 'Test BEGIN DATA ... END DATA'.
data list /A B 1-2.
title 'Test BEGIN DATA ... END DATA'.
data list /A B 1-2.
@@
-73,7
+74,7
@@
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
activity="compare data"
if [ $? -ne 0 ] ; then no_result ; fi
activity="compare data"