projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix use of "export" to work with traditional shells.
[pspp]
/
tests
/
command
/
flip.sh
diff --git
a/tests/command/flip.sh
b/tests/command/flip.sh
index 759c4fd07f3f749912a813c071c9f2574c1a6301..2face72119c7f777e62c6e65efe095d347184f37 100755
(executable)
--- a/
tests/command/flip.sh
+++ b/
tests/command/flip.sh
@@
-3,13
+3,15
@@
# This program tests the flip command
TEMPDIR=/tmp/pspp-tst-$$
# This program tests the flip command
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()
@@
-47,7
+49,7
@@
cd $TEMPDIR
activity="create flip.stat"
cat > $TEMPDIR/flip.stat <<EOF
activity="create flip.stat"
cat > $TEMPDIR/flip.stat <<EOF
-data list /
n 1 (a) a b c d
2-9.
+data list /
N 1 (a) A B C D
2-9.
list.
begin data.
v 1 2 3 4 5
list.
begin data.
v 1 2 3 4 5
@@
-65,7
+67,7
@@
if [ $? -ne 0 ] ; then no_result ; fi
activity="run program"
activity="run program"
-$here/../src/pspp -o raw-ascii $TEMPDIR/flip.stat
+$
SUPERVISOR $
here/../src/pspp -o raw-ascii $TEMPDIR/flip.stat
if [ $? -ne 0 ] ; then no_result ; fi
activity="compare output"
if [ $? -ne 0 ] ; then no_result ; fi
activity="compare output"