summaryrefslogtreecommitdiff
path: root/tests/integration/logging.tcl
diff options
context:
space:
mode:
authorOran Agra <oran@redislabs.com>2022-06-12 16:00:17 +0300
committerGitHub <noreply@github.com>2022-06-12 16:00:17 +0300
commit05833959e3875ea10f9b2934dc68daca549c9531 (patch)
treedff5b7e2aa9e891e5b324aa89b20857eb1338fe0 /tests/integration/logging.tcl
parent2667c41235069baae1d87541c7839a8fa5cfbb97 (diff)
parent1973558b63dd7354841c8a12fb9d4107ac7eaa4e (diff)
downloadredis-05833959e3875ea10f9b2934dc68daca549c9531.tar.gz
Merge pull request #10851 from oranagra/release7027.0.2
Release 7.0.2
Diffstat (limited to 'tests/integration/logging.tcl')
-rw-r--r--tests/integration/logging.tcl9
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/integration/logging.tcl b/tests/integration/logging.tcl
index ef74ef498..8617ed2fc 100644
--- a/tests/integration/logging.tcl
+++ b/tests/integration/logging.tcl
@@ -8,9 +8,12 @@ if {$system_name eq {darwin}} {
set backtrace_supported 1
} 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]} {
- set backtrace_supported 1
+ # and on static binaries (ldd exit code 1) where we can't detect libmusl
+ catch {
+ set ldd [exec ldd src/redis-server]
+ if {![string match {*libc.*musl*} $ldd]} {
+ set backtrace_supported 1
+ }
}
}