Mercurial > public > mercurial-scm > hg-stable
diff tests/hghave.py @ 48344:f447b90a4b11 stable
tests: allow for variation in zstd output as seen on s390x and powerpc
author | Julien Cristau <jcristau@debian.org> |
---|---|
date | Wed, 25 Aug 2021 17:14:47 +0200 |
parents | f21e7748c257 |
children | 090346b095fb 21c0ae0693bc |
line wrap: on
line diff
--- a/tests/hghave.py Mon Nov 29 12:27:33 2021 +0000 +++ b/tests/hghave.py Wed Aug 25 17:14:47 2021 +0200 @@ -1149,3 +1149,8 @@ @check("bash", "bash shell") def has_bash(): return matchoutput("bash -c 'echo hi'", b'^hi$') + + +@check("bigendian", "big-endian CPU") +def has_bigendian(): + return sys.byteorder == 'big'