diff options
author | Oran Agra <oran@redislabs.com> | 2022-06-12 16:00:17 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-12 16:00:17 +0300 |
commit | 05833959e3875ea10f9b2934dc68daca549c9531 (patch) | |
tree | dff5b7e2aa9e891e5b324aa89b20857eb1338fe0 /tests/integration/logging.tcl | |
parent | 2667c41235069baae1d87541c7839a8fa5cfbb97 (diff) | |
parent | 1973558b63dd7354841c8a12fb9d4107ac7eaa4e (diff) | |
download | redis-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.tcl | 9 |
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 + } } } |