]> granicus.if.org Git - curl/commitdiff
runtests: skip ld_preload tests on macOS
authorDaniel Gustafsson <daniel@yesql.se>
Sun, 7 Oct 2018 20:25:53 +0000 (22:25 +0200)
committerDaniel Gustafsson <daniel@yesql.se>
Sun, 7 Oct 2018 20:25:53 +0000 (22:25 +0200)
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 <daniel@haxx.se>
tests/runtests.pl

index 4345df2d07d5187d167a943f488d35eb6c4046f4..5dce330425f6340607a72942bca9991b2471bd6b 100755 (executable)
@@ -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)/) {