git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63ae5e5
)
selftest: Utils.cmd_output returns byte string
author
Gary Lockyer
<gary@catalyst.net.nz>
Mon, 6 May 2019 01:14:37 +0000
(13:14 +1200)
committer
Andrew Bartlett
<abartlet@samba.org>
Mon, 6 May 2019 07:12:18 +0000
(07:12 +0000)
Convert the returned byte string into a string.
Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
selftest/wscript
patch
|
blob
|
history
diff --git
a/selftest/wscript
b/selftest/wscript
index 2fd38e20a4ad6d6a9450709a3d8d9620d36fc6f5..44455480eb1cca3179cb5b74ce0340d14ea34307 100644
(file)
--- 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