projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix crash in find dialog and make code less horrible.
[pspp-builds.git]
/
tests
/
command
/
rank.sh
diff --git
a/tests/command/rank.sh
b/tests/command/rank.sh
index 6b8760e6e2be37f79241d4d8f45fa1e933efd7e1..d98c8e2211c67b0316334b2973f84ed9e726f00f 100755
(executable)
--- a/
tests/command/rank.sh
+++ b/
tests/command/rank.sh
@@
-26,6
+26,7
@@
cleanup()
echo "NOT cleaning $TEMPDIR"
return ;
fi
echo "NOT cleaning $TEMPDIR"
return ;
fi
+ cd /
rm -rf $TEMPDIR
}
rm -rf $TEMPDIR
}
@@
-81,7
+82,7
@@
if [ $? -ne 0 ] ; then no_result ; fi
# Check that it properly handles failed transformations.
activity="run program 1"
# Check that it properly handles failed transformations.
activity="run program 1"
-$SUPERVISOR $PSPP --testing-mode -
o raw-ascii -
e $TEMPDIR/err $TESTFILE
+$SUPERVISOR $PSPP --testing-mode -e $TEMPDIR/err $TESTFILE
if [ $? -ne 1 ] ; then fail ; fi
activity="diff 1"
if [ $? -ne 1 ] ; then fail ; fi
activity="diff 1"
@@
-130,7
+131,7
@@
if [ $? -ne 0 ] ; then no_result ; fi
activity="run program (syntax errors)"
activity="run program (syntax errors)"
-$SUPERVISOR $PSPP --testing-mode -
o raw-ascii -
e $TEMPDIR/errs $TESTFILE
+$SUPERVISOR $PSPP --testing-mode -e $TEMPDIR/errs $TESTFILE
if [ $? -ne 1 ] ; then fail ; fi
activity="compare errors"
if [ $? -ne 1 ] ; then fail ; fi
activity="compare errors"
@@
-358,7
+359,7
@@
if [ $? -ne 0 ] ; then no_result ; fi
activity="run program 3"
activity="run program 3"
-$SUPERVISOR $PSPP --testing-mode
-o raw-ascii
$TESTFILE
+$SUPERVISOR $PSPP --testing-mode $TESTFILE
if [ $? -ne 0 ] ; then no_result ; fi
if [ $? -ne 0 ] ; then no_result ; fi
@@
-580,7
+581,7
@@
EOF
if [ $? -ne 0 ] ; then no_result ; fi
activity="run program 4"
if [ $? -ne 0 ] ; then no_result ; fi
activity="run program 4"
-$SUPERVISOR $PSPP --testing-mode -
o raw-ascii -
e /dev/null $TESTFILE
+$SUPERVISOR $PSPP --testing-mode -e /dev/null $TESTFILE
if [ $? -ne 0 ] ; then fail ; fi
if [ $? -ne 0 ] ; then fail ; fi