diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2010-08-16 13:36:04 -0700 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2010-08-16 13:36:51 -0700 |
commit | 4d703ee1005cfc4cc1ff2b8dbbf4469de63d240f (patch) | |
tree | 8885ca25b8af1289b06f9fb04c5f14eb1c07b651 /tests/data/test1100 | |
parent | 13b8fc46a3fd6b202a7f2df5f9aff4f26fe6c4db (diff) | |
download | curl-4d703ee1005cfc4cc1ff2b8dbbf4469de63d240f.tar.gz |
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.
Diffstat (limited to 'tests/data/test1100')
-rw-r--r-- | tests/data/test1100 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/data/test1100 b/tests/data/test1100 index 00bd64431..e38c0e0d7 100644 --- a/tests/data/test1100 +++ b/tests/data/test1100 @@ -74,7 +74,7 @@ HTTP POST with NTLM authorization and following a 302 redirect # 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/1100 -u testuser:testpass --ntlm -L -d "stuff to send away" |