sapling/tests/test-check-noroot.t
Phil Cohen b5f65c2cff tests: move "no new files in root" check to its own file
Summary:
This takes about 4.5s on my laptop. By moving it to its own file, we can run it in parallel and save from the total check-code time.

Laptop: 31.74s -> 25.53s
Devserver: 24.5s -> 22.21s

Reviewed By: quark-zju

Differential Revision: D8721156

fbshipit-source-id: 6d4d2c86517239f1762a413bc5d3dfefe184eaca
2018-07-02 19:21:01 -07:00

28 lines
420 B
Perl

#require test-repo
$ . "$TESTDIR/helpers-testrepo.sh"
$ cd "$TESTDIR"/..
Prevent adding new files in the root directory accidentally.
$ testrepohg files 'glob:*'
.editorconfig
.flake8
.gitignore
.hg-vendored-crates
.hgsigs
.jshintrc
.watchmanconfig
CONTRIBUTING
CONTRIBUTORS
COPYING
Makefile
README.rst
TARGETS
gen_version.py
hg
hgeditor
hgweb.cgi
setup.py
vendorcrates.py