From: Daniel Gustafsson Date: Sun, 7 Oct 2018 20:25:53 +0000 (+0200) Subject: runtests: skip ld_preload tests on macOS X-Git-Tag: curl-7_62_0~81 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b6bcb6e689c3d146fe8f53b94b15de07287d39e6;p=thirdparty%2Fcurl.git runtests: skip ld_preload tests on macOS The LD_PRELOAD functionality doesn't exist on macOS, so skip any tests requiring it. Fixes #2394 Closes #3106 Reported-by: Github user @jakirkham Reviewed-by: Daniel Stenberg --- diff --git a/tests/runtests.pl b/tests/runtests.pl index 4345df2d07..5dce330425 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -2682,7 +2682,7 @@ sub checksystem { $curl =~ s/^(.*)(libcurl.*)/$1/g; $libcurl = $2; - if($curl =~ /linux|bsd|solaris|darwin/) { + if($curl =~ /linux|bsd|solaris/) { $has_ldpreload = 1; } if($curl =~ /win32|Windows|mingw(32|64)/) {