changeset 37804:1ec874717d8a stable 4.6rc1

test-check-code: prevent from adding Python modules shadowed by ancient C
author Yuya Nishihara <yuya@tcha.org>
date Fri, 20 Apr 2018 20:54:32 +0900
parents 72f6498c040b
children 8c8b6d13949a 61713e857708
files tests/test-check-code.t
diffstat 1 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-check-code.t	Fri Apr 20 20:48:10 2018 +0900
+++ b/tests/test-check-code.t	Fri Apr 20 20:54:32 2018 +0900
@@ -51,3 +51,15 @@
   hgeditor
   hgweb.cgi
   setup.py
+
+Prevent adding modules which could be shadowed by ancient .so/.dylib.
+
+  $ testrepohg files \
+  > mercurial/base85.py \
+  > mercurial/bdiff.py \
+  > mercurial/diffhelpers.py \
+  > mercurial/mpatch.py \
+  > mercurial/osutil.py \
+  > mercurial/parsers.py \
+  > mercurial/zstd.py
+  [1]