projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Sat Jul 30 21:54:23 2005 Ben Pfaff <blp@gnu.org>
[pspp]
/
tests
/
command
/
t-test-groups.sh
diff --git
a/tests/command/t-test-groups.sh
b/tests/command/t-test-groups.sh
index 3ceed34c694c9e279fe01acf4ef74a3ce2d566cf..ca0cca4577e92c32a45d5cdb5ee6535ca905cfeb 100755
(executable)
--- a/
tests/command/t-test-groups.sh
+++ b/
tests/command/t-test-groups.sh
@@
-10,11
+10,13
@@
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()
{
+ cd /
rm -rf $TEMPDIR
}
rm -rf $TEMPDIR
}
@@
-47,8
+49,8
@@
mkdir -p $TEMPDIR
cd $TEMPDIR
activity="create program"
cd $TEMPDIR
activity="create program"
-cat > $TE
MPDIR/out.stat
<<EOF
-data list list /
id * indep * dep1 * dep
2 *.
+cat > $TE
STFILE
<<EOF
+data list list /
ID * INDEP * DEP1 * DEP
2 *.
begin data.
1 1.1 1 3
2 1.1 2 4
begin data.
1 1.1 1 3
2 1.1 2 4
@@
-71,7
+73,7
@@
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 output"
if [ $? -ne 0 ] ; then no_result ; fi
activity="compare output"