diff options
Diffstat (limited to 'tests/integration')
-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 + } } } |