From 4d703ee1005cfc4cc1ff2b8dbbf4469de63d240f Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Mon, 16 Aug 2010 13:36:04 -0700 Subject: Make the LD_PRELOAD path absolute in the tests that use it In some situations, libtool will change directories and perform a link step before executing the libtest test app. Since LD_PRELOAD is in effect for this entire process, the path to the binary must be absolute so it will be valid no matter in which directory the app is running. --- tests/data/test169 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/data/test169') diff --git a/tests/data/test169 b/tests/data/test169 index 5af7f9f5c..f7419e6d0 100644 --- a/tests/data/test169 +++ b/tests/data/test169 @@ -85,7 +85,7 @@ HTTP with proxy-requiring-NTLM to site-requiring-Digest # we force our own host name, in order to make the test machine independent CURL_GETHOSTNAME=curlhost # we try to use the LD_PRELOAD hack, if not a debug build -LD_PRELOAD=./libtest/.libs/libhostname.so +LD_PRELOAD=%PWD/libtest/.libs/libhostname.so http://data.from.server.requiring.digest.hohoho.com/169 --proxy http://%HOSTIP:%HTTPPORT --proxy-user foo:bar --proxy-ntlm --digest --user digest:alot -- cgit v1.2.3