projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Comment.
[pspp]
/
tests
/
command
/
count.sh
diff --git
a/tests/command/count.sh
b/tests/command/count.sh
index 345e2527733f5b32d3fc34a7c2f31bd82cda0e00..a792c08ba3f56a91686cec58aead146dd95ee17c 100755
(executable)
--- a/
tests/command/count.sh
+++ b/
tests/command/count.sh
@@
-3,6
+3,7
@@
# This program tests the count transformation
TEMPDIR=/tmp/pspp-tst-$$
# This program tests the count transformation
TEMPDIR=/tmp/pspp-tst-$$
+TESTFILE=$TEMPDIR/`basename $0`.sps
here=`pwd`;
here=`pwd`;
@@
-45,7
+46,7
@@
mkdir -p $TEMPDIR
cd $TEMPDIR
cd $TEMPDIR
-cat > $TE
MPDIR/count.stat
<<EOF
+cat > $TE
STFILE
<<EOF
title 'Test COUNT transformation'.
* we're going to count the 2s 4s and 1s in the data
title 'Test COUNT transformation'.
* we're going to count the 2s 4s and 1s in the data
@@
-65,7
+66,7
@@
EOF
if [ $? -ne 0 ] ; then no_result ; fi
if [ $? -ne 0 ] ; then no_result ; fi
-$
here/../src/pspp -o raw-ascii $TEMPDIR/count.stat
+$
SUPERVISOR $here/../src/pspp -o raw-ascii $TESTFILE
if [ $? -ne 0 ] ; then no_result ; fi
if [ $? -ne 0 ] ; then no_result ; fi