Skip to content
Snippets Groups Projects
Commit 8fb6844a authored by Matt Mackall's avatar Matt Mackall
Browse files

tests: change some #ifs to #requires

parent 7a9cbb31
No related branches found
No related tags found
No related merge requests found
#if test-repo
#require test-repo
$ check_code="$TESTDIR"/../contrib/check-code.py
$ cd "$TESTDIR"/..
......@@ -13,5 +13,3 @@
Skipping mercurial/httpclient/__init__.py it has no-che?k-code (glob)
Skipping mercurial/httpclient/_readers.py it has no-che?k-code (glob)
Skipping mercurial/httpclient/socketutil.py it has no-che?k-code (glob)
#endif
#if test-repo pyflakes
#require test-repo pyflakes
$ cd "`dirname "$TESTDIR"`"
......@@ -18,5 +18,3 @@
tests/hghave.py:*: 'ssl' imported but unused (glob)
contrib/win32/hgwebdir_wsgi.py:93: 'from isapi.install import *' used; unable to detect undefined names (glob)
tests/filterpyflakes.py:58: undefined name 'undefinedname'
#endif
#if unix-permissions no-root no-windows
#require unix-permissions no-root no-windows
Prepare
......@@ -39,4 +39,3 @@
[255]
$ chmod 700 a/.hg/store
#endif
#if unix-permissions no-root
#require unix-permissions no-root
$ hg init t
$ cd t
......@@ -70,5 +70,3 @@
$ chmod +rx dir
$ cd ..
#endif
#if unix-permissions no-root
#require unix-permissions no-root
$ hg init a
$ cd a
......@@ -30,5 +30,3 @@
1 files, 1 changesets, 1 total revisions
$ cd ..
#endif
#if unix-permissions no-root
#require unix-permissions no-root
$ echo "[extensions]" >> $HGRCPATH
$ echo "mq=">> $HGRCPATH
......@@ -130,5 +130,3 @@
2 files, 2 changesets, 2 total revisions
$ cd ..
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment