~ chicken-core (chicken-5) 397e41cfa44b898674c68b0c52ef87563c88cc7c
commit 397e41cfa44b898674c68b0c52ef87563c88cc7c
Author: Michele La Monaca <mikele.chicken@lamonaca.net>
AuthorDate: Tue May 6 13:17:57 2014 +0200
Commit: Peter Bex <peter.bex@xs4all.nl>
CommitDate: Thu May 8 20:36:01 2014 +0200
fix private repository tests for Solaris
Signed-off-by: Mario Domenech Goulart <mario.goulart@gmail.com>
Signed-off-by: Peter Bex <peter.bex@xs4all.nl>
diff --git a/tests/runtests.sh b/tests/runtests.sh
index b3570ded..2ea33f25 100755
--- a/tests/runtests.sh
+++ b/tests/runtests.sh
@@ -396,10 +396,11 @@ $compile -e embedded3.c embedded4.scm
echo "======================================== private repository test ..."
mkdir -p tmp
$compile private-repository-test.scm -private-repository -o tmp/xxx
-tmp/xxx $PWD/tmp
-PATH=$PWD/tmp:$PATH xxx $PWD/tmp
+tmp/xxx ${TEST_DIR}/tmp
+# This MUST be `pwd`: ${PWD} is not portable, and ${TEST_DIR} breaks mingw-msys
+PATH=`pwd`/tmp:$PATH xxx ${TEST_DIR}/tmp
# this may crash, if the PATH contains a non-matching libchicken.dll on Windows:
-#PATH=$PATH:$PWD/tmp xxx $PWD/tmp
+#PATH=$PATH:${TEST_DIR}/tmp xxx ${TEST_DIR}/tmp
rm -fr rev-app rev-app-2 reverser/*.import.* reverser/*.so
echo "======================================== reinstall tests"
Trap