>From 765eff9d0bce2601897f374934f3acd6e3a5fa51 Mon Sep 17 00:00:00 2001 From: Michele La Monaca Date: Tue, 6 May 2014 13:17:57 +0200 Subject: [PATCH] fix private repository tests for Solaris Signed-off-by: Mario Domenech Goulart Signed-off-by: Peter Bex --- tests/runtests.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/runtests.sh b/tests/runtests.sh index d2ffe72..5007f8a 100755 --- a/tests/runtests.sh +++ b/tests/runtests.sh @@ -398,10 +398,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" -- 1.7.10.4