diff options
author | Gary Lockyer <gary@catalyst.net.nz> | 2019-05-06 13:14:37 +1200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2019-05-06 07:12:18 +0000 |
commit | e129d4ea3e0f6455d1eb6d5df7118e31fcb1670e (patch) | |
tree | 1ac438fd96baa9ee52ac282697f46372c0f8c926 /selftest | |
parent | 63ae5e5f82bcc8f7f2c345f8b78170c5d2139684 (diff) | |
download | samba-e129d4ea3e0f6455d1eb6d5df7118e31fcb1670e.tar.gz |
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>
Diffstat (limited to 'selftest')
-rw-r--r-- | selftest/wscript | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/selftest/wscript b/selftest/wscript index 2fd38e20a4a..44455480eb1 100644 --- a/selftest/wscript +++ b/selftest/wscript @@ -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 |