From f22bfe86b6db59ae6d5357b44f9e86418746c31c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Van=C4=9Bk?= Date: Tue, 7 Jun 2022 17:47:01 +0200 Subject: [PATCH] Update musl libc detection pattern (#10826) This change fixes failing `integration/logging.tcl` test in Gentoo with musl libc, where `ldd` returns ``` libc.so => /lib/ld-musl-x86_64.so.1 (0x7f9d5f171000) ``` unlike Alpine's ``` libc.musl-x86_64.so.1 => /lib/ld-musl-x86_64.so.1 (0x7f82cfa16000) ``` The solution is to extend matching pattern introduced in #8532. --- tests/integration/logging.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/logging.tcl b/tests/integration/logging.tcl index 97f398307..ef74ef498 100644 --- a/tests/integration/logging.tcl +++ b/tests/integration/logging.tcl @@ -9,7 +9,7 @@ if {$system_name eq {darwin}} { } elseif {$system_name eq {linux}} { # Avoid the test on libmusl, which does not support backtrace set ldd [exec ldd src/redis-server] - if {![string match {*libc.musl*} $ldd]} { + if {![string match {*libc.*musl*} $ldd]} { set backtrace_supported 1 } }