• Christian Krieg's avatar
    Fixing test to consider statically linked binaries (#10835) · 032619b8
    Christian Krieg authored
    
    
    The test calls `ldd` on `redis-server` in order to find out whether the binary
    was linked against `libmusl`; However, `ldd` returns a value different from `0`
    when statically linking the binaries agains libc-musl, because `redis-server` is
    not a dynamic executable (as given by the exception thrown by the failing test),
    and `make test` terminates with an error::
    
       $ ldd src/redis-server
           not a dynamic executable
       $ echo $?
       1
    
    This commit fixes the test by ignoring such failures.
    Co-authored-by: default avatarYossi Gottlieb <yossigo@gmail.com>
    032619b8
logging.tcl 1.88 KB