projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed a bug which crashed PSPP under invalid input.
[pspp]
/
tests
/
command
/
weight.sh
diff --git
a/tests/command/weight.sh
b/tests/command/weight.sh
index aaa633bcf887299ed3bf8a70a43d6305179f47b7..3b71997f03d54cc25f400d563e93ae5b9597232e 100755
(executable)
--- a/
tests/command/weight.sh
+++ b/
tests/command/weight.sh
@@
-47,7
+47,7
@@
cd $TEMPDIR
activity="create program"
cat > $TEMPDIR/weight.stat <<EOF
activity="create program"
cat > $TEMPDIR/weight.stat <<EOF
-data list file='$
here
/weighting.data'/AVAR 1-5 BVAR 6-10.
+data list file='$
top_srcdir/tests
/weighting.data'/AVAR 1-5 BVAR 6-10.
weight by BVAR.
descriptives AVAR /statistics all /format serial.
weight by BVAR.
descriptives AVAR /statistics all /format serial.
@@
-63,7
+63,7
@@
if [ $? -ne 0 ] ; then no_result ; fi
activity="compare results"
diff -B -b $TEMPDIR/pspp.list - <<EOF
activity="compare results"
diff -B -b $TEMPDIR/pspp.list - <<EOF
-1.1 DATA LIST. Reading 1 record from file "$
here
/weighting.data".
+1.1 DATA LIST. Reading 1 record from file "$
top_srcdir/tests
/weighting.data".
+--------+------+-------+------+
|Variable|Record|Columns|Format|
#========#======#=======#======#
+--------+------+-------+------+
|Variable|Record|Columns|Format|
#========#======#=======#======#