projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add scratch file handles.
[pspp-builds.git]
/
tests
/
bugs
/
html-frequency.sh
diff --git
a/tests/bugs/html-frequency.sh
b/tests/bugs/html-frequency.sh
index dcfd41662ca9bd5caeb7b1329dc0ccad261185be..e3df6fdeddc10d0a1ae6741cdb40c01aa77dacf1 100755
(executable)
--- a/
tests/bugs/html-frequency.sh
+++ b/
tests/bugs/html-frequency.sh
@@
-6,6
+6,7
@@
TEMPDIR=/tmp/pspp-tst-$$
TEMPDIR=/tmp/pspp-tst-$$
+TESTFILE=$TEMPDIR/`basename $0`.sps
here=`pwd`
here=`pwd`
@@
-13,9
+14,11
@@
here=`pwd`
cd $top_srcdir ; top_srcdir=`pwd`
STAT_CONFIG_PATH=$top_srcdir/config
cd $top_srcdir ; top_srcdir=`pwd`
STAT_CONFIG_PATH=$top_srcdir/config
+export STAT_CONFIG_PATH
cleanup()
{
cleanup()
{
+ cd /
rm -rf $TEMPDIR
}
rm -rf $TEMPDIR
}
@@
-47,7
+50,7
@@
mkdir -p $TEMPDIR
activity="create data"
activity="create data"
-cat << EOF > $TE
MPDIR/ff.stat
+cat << EOF > $TE
STFILE
data list free /v1 v2.
begin data.
data list free /v1 v2.
begin data.
@@
-57,6
+60,8
@@
begin data.
3 4
end data.
3 4
end data.
+list.
+
frequencies v1 v2.
EOF
if [ $? -ne 0 ] ; then no_result ; fi
frequencies v1 v2.
EOF
if [ $? -ne 0 ] ; then no_result ; fi
@@
-64,7
+69,7
@@
if [ $? -ne 0 ] ; then no_result ; fi
cd $TEMPDIR
activity="run data"
cd $TEMPDIR
activity="run data"
-$
here/../src/pspp -o html $TEMPDIR/ff.stat
+$
SUPERVISOR $here/../src/pspp -o html $TESTFILE
if [ $? -ne 0 ] ; then fail ; fi
if [ $? -ne 0 ] ; then fail ; fi