projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't canonicalise pathnames of included files.
[pspp-builds.git]
/
tests
/
command
/
insert.sh
diff --git
a/tests/command/insert.sh
b/tests/command/insert.sh
index 354a54f898497c8bcdccaf1ec1af8aae6ec0bf8f..be7f9e08c565c52677a4e0704f92acd86b84a948 100755
(executable)
--- a/
tests/command/insert.sh
+++ b/
tests/command/insert.sh
@@
-2,7
+2,8
@@
# This program tests the INSERT command
# This program tests the INSERT command
-TEMPDIR=/tmp/pspp-tst-$$
+BASETEMPDIR=/tmp/pspp-tst-$$
+TEMPDIR=$BASETEMPDIR/link
TESTFILE=$TEMPDIR/`basename $0`.sps
# ensure that top_srcdir and top_builddir are absolute
TESTFILE=$TEMPDIR/`basename $0`.sps
# ensure that top_srcdir and top_builddir are absolute
@@
-23,11
+24,11
@@
export LANG
cleanup()
{
if [ x"$PSPP_TEST_NO_CLEANUP" != x ] ; then
cleanup()
{
if [ x"$PSPP_TEST_NO_CLEANUP" != x ] ; then
- echo "NOT cleaning $TEMPDIR"
+ echo "NOT cleaning $
BASE
TEMPDIR"
return ;
fi
cd /
return ;
fi
cd /
- rm -rf $TEMPDIR
+ rm -rf $
BASE
TEMPDIR
}
}
@@
-54,7
+55,9
@@
pass()
exit 0;
}
exit 0;
}
-mkdir -p $TEMPDIR
+mkdir -p $BASETEMPDIR/target
+
+ln -s $BASETEMPDIR/target $TEMPDIR
cd $TEMPDIR
cd $TEMPDIR
@@
-249,6
+252,4
@@
$TEMPDIR/foo.sps:10: error: DISPLAY: AKSDJ is not a variable name.
EOF
if [ $? -ne 0 ] ; then fail ; fi
EOF
if [ $? -ne 0 ] ; then fail ; fi
-
-
pass;
pass;