From: Joel Rosdahl Date: Sun, 11 Jul 2021 19:38:46 +0000 (+0200) Subject: test: Fix secondary_http suite for test/run called with relative path X-Git-Tag: v4.4~136 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55813b4e07a623dd44602a14ef89e4457e1609c3;p=thirdparty%2Fccache.git test: Fix secondary_http suite for test/run called with relative path --- diff --git a/test/run b/test/run index 1da8315f3..b6fa82069 100755 --- a/test/run +++ b/test/run @@ -478,8 +478,9 @@ COMPILER_TYPE_GCC=false COMPILER_USES_LLVM=false COMPILER_USES_MINGW=false -readonly HTTP_CLIENT="$(dirname $0)/http-client" -readonly HTTP_SERVER="$(dirname $0)/http-server" +ABS_ROOT_DIR="$(cd $(dirname "$0"); pwd)" +readonly HTTP_CLIENT="${ABS_ROOT_DIR}/http-client" +readonly HTTP_SERVER="${ABS_ROOT_DIR}/http-server" HOST_OS_APPLE=false HOST_OS_LINUX=false