diff --git a/tests/test-check-code.t b/tests/test-check-code.t --- a/tests/test-check-code.t +++ b/tests/test-check-code.t @@ -51,3 +51,15 @@ Prevent adding new files in the root dir 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]