projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revise.
[pspp]
/
tests
/
command
/
oneway.sh
diff --git
a/tests/command/oneway.sh
b/tests/command/oneway.sh
index cedaedf876cd7bb0c931512df8f962d5bb6f5918..91a72af6a7556f5277901ca247ee68f8832cee53 100755
(executable)
--- a/
tests/command/oneway.sh
+++ b/
tests/command/oneway.sh
@@
-10,12
+10,18
@@
here=`pwd`;
# ensure that top_srcdir is absolute
cd $top_srcdir; top_srcdir=`pwd`
# ensure that top_srcdir is absolute
cd $top_srcdir; top_srcdir=`pwd`
-export STAT_CONFIG_PATH=$top_srcdir/config
+STAT_CONFIG_PATH=$top_srcdir/config
+export STAT_CONFIG_PATH
cleanup()
{
cleanup()
{
- rm -rf $TEMPDIR
+ if [ x"$PSPP_TEST_NO_CLEANUP" != x ] ; then
+ echo Not cleaning $TEMPDIR;
+ return ;
+ fi
+ cd /
+ rm -rf $TEMPDIR
}
}
@@
-48,7
+54,7
@@
cd $TEMPDIR
activity="create program"
cat > $TESTFILE <<EOF
activity="create program"
cat > $TESTFILE <<EOF
-DATA LIST LIST /
quality * brand
* .
+DATA LIST LIST /
QUALITY * BRAND
* .
BEGIN DATA
3 1
2 1
BEGIN DATA
3 1
2 1
@@
-75,8
+81,8
@@
VALUE LABELS /brand 1 'Aspeger' 2 'Bloggs' 3 'Charlies'.
ONEWAY
quality BY brand
/STATISTICS descriptives homogeneity
ONEWAY
quality BY brand
/STATISTICS descriptives homogeneity
- /CONTRAST
S
= -2 1 1
- /CONTRAST
S
= 0 -1 1
+ /CONTRAST = -2 1 1
+ /CONTRAST = 0 -1 1
.
EOF
if [ $? -ne 0 ] ; then no_result ; fi
.
EOF
if [ $? -ne 0 ] ; then no_result ; fi