projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(parse_rank_function) Fix msg() bug found by -Wformat.
[pspp]
/
tests
/
bugs
/
t-test-alpha.sh
diff --git
a/tests/bugs/t-test-alpha.sh
b/tests/bugs/t-test-alpha.sh
index 093c2cb70c02ae62b34d653777940e204e5f7bbb..befc9eb9ac709970e0e60ebf7a416de35be75610 100755
(executable)
--- a/
tests/bugs/t-test-alpha.sh
+++ b/
tests/bugs/t-test-alpha.sh
@@
-12,11
+12,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
}
@@
-49,8
+51,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 (a1) dep1 * dep
2 *.
+cat > $TE
STFILE
<<EOF
+data list list /
ID * INDEP (a1) DEP1 * DEP
2 *.
begin data.
1 'a' 1 3
2 'a' 2 4
begin data.
1 'a' 1 3
2 'a' 2 4
@@
-72,7
+74,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"