summaryrefslogtreecommitdiff
path: root/tests/integration
diff options
context:
space:
mode:
authorPetr Vaněk <arkamar@atlas.cz>2022-06-07 17:47:01 +0200
committerGitHub <noreply@github.com>2022-06-07 18:47:01 +0300
commitf22bfe86b6db59ae6d5357b44f9e86418746c31c (patch)
tree5a5f0d462be735c40ff2afe14d67d8a7b265b482 /tests/integration
parentae9764ea0a6bb3cfeff9baae2d4fd748a53d1864 (diff)
downloadredis-f22bfe86b6db59ae6d5357b44f9e86418746c31c.tar.gz
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.
Diffstat (limited to 'tests/integration')
-rw-r--r--tests/integration/logging.tcl2
1 files changed, 1 insertions, 1 deletions
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
}
}