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
/
multipass.sh
diff --git
a/tests/bugs/multipass.sh
b/tests/bugs/multipass.sh
index 004235478b2dbae62baf0ee6816c887a02abf650..524b7160382b7b28129509365dc8bc3421f98f6b 100755
(executable)
--- a/
tests/bugs/multipass.sh
+++ b/
tests/bugs/multipass.sh
@@
-4,17
+4,20
@@
TEMPDIR=/tmp/pspp-tst-$$
TEMPDIR=/tmp/pspp-tst-$$
+TESTFILE=$TEMPDIR/`basename $0`.sps
here=`pwd`;
# ensure that top_srcdir is absolute
cd $top_srcdir; top_srcdir=`pwd`
here=`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
+50,8
@@
mkdir -p $TEMPDIR
cd $TEMPDIR
activity="create program"
cd $TEMPDIR
activity="create program"
-cat > $TE
MPDIR/rnd.sps
<<EOF
-data list list /
id * abc
*.
+cat > $TE
STFILE
<<EOF
+data list list /
ID * ABC
*.
begin data.
1 3.5
2 2.0
begin data.
1 3.5
2 2.0
@@
-67,7
+70,7
@@
DESCRIPTIVES
EOF
if [ $? -ne 0 ] ; then no_result ; fi
EOF
if [ $? -ne 0 ] ; then no_result ; fi
-$SUPERVISOR $here/../src/pspp -o raw-ascii $TE
MPDIR/rnd.sps
+$SUPERVISOR $here/../src/pspp -o raw-ascii $TE
STFILE
if [ $? -ne 0 ] ; then no_result ; fi
if [ $? -ne 0 ] ; then no_result ; fi