From e129d4ea3e0f6455d1eb6d5df7118e31fcb1670e Mon Sep 17 00:00:00 2001 From: Gary Lockyer Date: Mon, 6 May 2019 13:14:37 +1200 Subject: [PATCH] selftest: Utils.cmd_output returns byte string Convert the returned byte string into a string. Signed-off-by: Gary Lockyer Reviewed-by: Andrew Bartlett --- selftest/wscript | 1 + 1 file changed, 1 insertion(+) diff --git a/selftest/wscript b/selftest/wscript index 2fd38e20a4ad..44455480eb1c 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 -- 2.34.1