mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
selftest: Utils.cmd_output returns byte string
Convert the returned byte string into a string. Signed-off-by: Gary Lockyer <gary@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
63ae5e5f82
commit
e129d4ea3e
@ -276,6 +276,7 @@ def cmd_testonly(opt):
|
||||
# We try to find the correct libasan automatically
|
||||
libasan = Utils.cmd_output('ldd bin/texpect | grep libasan| cut -f 3 -d \ ',
|
||||
silent=True).strip()
|
||||
libasan = libasan.decode('utf8')
|
||||
|
||||
# Have the selftest.pl LD_PRELOAD libasan in the right spot
|
||||
env.OPTIONS += " --asan_so_path=" + libasan
|
||||
|
Loading…
x
Reference in New Issue
Block a user