summaryrefslogtreecommitdiff
path: root/tests/scripts/functions/wildcard
diff options
context:
space:
mode:
Diffstat (limited to 'tests/scripts/functions/wildcard')
-rw-r--r--tests/scripts/functions/wildcard3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/scripts/functions/wildcard b/tests/scripts/functions/wildcard
index f01f574a..1a1addda 100644
--- a/tests/scripts/functions/wildcard
+++ b/tests/scripts/functions/wildcard
@@ -150,8 +150,9 @@ if ($port_type ne 'W32' && eval { symlink("",""); 1 }) {
# Test for dangling symlinks
# This doesn't work with the built-in glob... needs to be updated!
+ # It also for some obscure reason, will break if we use ASAN!!
- if (get_config('USE_SYSTEM_GLOB') eq 'yes') {
+ if (get_config('USE_SYSTEM_GLOB') eq 'yes' && !exists($FEATURES{sanitize})) {
symlink($dir, $lnk);
run_make_test(qq!all: ; \@echo \$(wildcard $lnk)!, '', "$lnk");