mirror of
https://github.com/curl/curl.git
synced 2026-07-24 19:37:17 +03:00
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.
This commit is contained in:
parent
13b8fc46a3
commit
4d703ee100
23 changed files with 23 additions and 23 deletions
|
|
@ -83,7 +83,7 @@ HTTP with NTLM, Basic or Wild-and-crazy authorization
|
|||
# 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
|
||||
</setenv>
|
||||
<command>
|
||||
http://%HOSTIP:%HTTPPORT/69 -u testuser:testpass --anyauth
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue