projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* command/print.sh: Get rid of RBHEX output. It wasn't worth much.
[pspp]
/
tests
/
command
/
trimmed-mean.sh
diff --git
a/tests/command/trimmed-mean.sh
b/tests/command/trimmed-mean.sh
index 8b84a31c47c24d9bb38f916d54518910c6cdc819..ade3b869443a1050494c6489cc04e642aa721994 100755
(executable)
--- a/
tests/command/trimmed-mean.sh
+++ b/
tests/command/trimmed-mean.sh
@@
-4,6
+4,7
@@
# where the data is weighted towards the centre
TEMPDIR=/tmp/pspp-tst-$$
# where the data is weighted towards the centre
TEMPDIR=/tmp/pspp-tst-$$
+TESTFILE=$TEMPDIR/`basename $0`.sps
here=`pwd`;
here=`pwd`;
@@
-48,8
+49,8
@@
cd $TEMPDIR
activity="create program"
activity="create program"
-cat > $TE
MPDIR/out.stat
<<EOF
-DATA LIST LIST /
x * c
*.
+cat > $TE
STFILE
<<EOF
+DATA LIST LIST /
X * C
*.
BEGIN DATA.
1 1
2 49
BEGIN DATA.
1 1
2 49
@@
-67,12
+68,12
@@
if [ $? -ne 0 ] ; then no_result ; fi
activity="run program"
activity="run program"
-$SUPERVISOR $here/../src/pspp -o raw-ascii $TE
MPDIR/out.stat
+$SUPERVISOR $here/../src/pspp -o raw-ascii $TE
STFILE
if [ $? -ne 0 ] ; then no_result ; fi
activity="compare results"
if [ $? -ne 0 ] ; then no_result ; fi
activity="compare results"
-diff $TEMPDIR/pspp.list - << EOF
+diff
-b -B
$TEMPDIR/pspp.list - << EOF
1.1 DATA LIST. Reading free-form data from the command file.
+--------+------+
|Variable|Format|
1.1 DATA LIST. Reading free-form data from the command file.
+--------+------+
|Variable|Format|