hghave: fix up clang-libfuzzer regex to be bytes
Fixes this check on Python 3.
# skip-blame just a b prefix
Differential Revision: https://phab.mercurial-scm.org/D2607
--- a/tests/hghave.py Sat Mar 03 15:41:12 2018 -0500
+++ b/tests/hghave.py Sat Mar 03 16:38:17 2018 -0500
@@ -703,7 +703,7 @@
@check("clang-libfuzzer", "clang new enough to include libfuzzer")
def has_clang_libfuzzer():
- mat = matchoutput('clang --version', 'clang version (\d)')
+ mat = matchoutput('clang --version', b'clang version (\d)')
if mat:
# libfuzzer is new in clang 6
return int(mat.group(1)) > 5