##// END OF EJS Templates
tests: change some #ifs to #requires
Matt Mackall -
r22047:8fb6844a default
parent child Browse files
Show More
@@ -1,4 +1,4 b''
1 #if test-repo
1 #require test-repo
2
2
3 $ check_code="$TESTDIR"/../contrib/check-code.py
3 $ check_code="$TESTDIR"/../contrib/check-code.py
4 $ cd "$TESTDIR"/..
4 $ cd "$TESTDIR"/..
@@ -13,5 +13,3 b' New errors are not allowed. Warnings are'
13 Skipping mercurial/httpclient/__init__.py it has no-che?k-code (glob)
13 Skipping mercurial/httpclient/__init__.py it has no-che?k-code (glob)
14 Skipping mercurial/httpclient/_readers.py it has no-che?k-code (glob)
14 Skipping mercurial/httpclient/_readers.py it has no-che?k-code (glob)
15 Skipping mercurial/httpclient/socketutil.py it has no-che?k-code (glob)
15 Skipping mercurial/httpclient/socketutil.py it has no-che?k-code (glob)
16
17 #endif
@@ -1,4 +1,4 b''
1 #if test-repo pyflakes
1 #require test-repo pyflakes
2
2
3 $ cd "`dirname "$TESTDIR"`"
3 $ cd "`dirname "$TESTDIR"`"
4
4
@@ -18,5 +18,3 b' run pyflakes on all tracked files ending'
18 tests/hghave.py:*: 'ssl' imported but unused (glob)
18 tests/hghave.py:*: 'ssl' imported but unused (glob)
19 contrib/win32/hgwebdir_wsgi.py:93: 'from isapi.install import *' used; unable to detect undefined names (glob)
19 contrib/win32/hgwebdir_wsgi.py:93: 'from isapi.install import *' used; unable to detect undefined names (glob)
20 tests/filterpyflakes.py:58: undefined name 'undefinedname'
20 tests/filterpyflakes.py:58: undefined name 'undefinedname'
21
22 #endif
@@ -1,4 +1,4 b''
1 #if unix-permissions no-root no-windows
1 #require unix-permissions no-root no-windows
2
2
3 Prepare
3 Prepare
4
4
@@ -39,4 +39,3 b' Pushing to a local read-only repo that c'
39 [255]
39 [255]
40
40
41 $ chmod 700 a/.hg/store
41 $ chmod 700 a/.hg/store
42 #endif
@@ -1,4 +1,4 b''
1 #if unix-permissions no-root
1 #require unix-permissions no-root
2
2
3 $ hg init t
3 $ hg init t
4 $ cd t
4 $ cd t
@@ -70,5 +70,3 b' Reenable perm to allow deletion:'
70 $ chmod +rx dir
70 $ chmod +rx dir
71
71
72 $ cd ..
72 $ cd ..
73
74 #endif
@@ -1,4 +1,4 b''
1 #if unix-permissions no-root
1 #require unix-permissions no-root
2
2
3 $ hg init a
3 $ hg init a
4 $ cd a
4 $ cd a
@@ -30,5 +30,3 b''
30 1 files, 1 changesets, 1 total revisions
30 1 files, 1 changesets, 1 total revisions
31
31
32 $ cd ..
32 $ cd ..
33
34 #endif
@@ -1,4 +1,4 b''
1 #if unix-permissions no-root
1 #require unix-permissions no-root
2
2
3 $ echo "[extensions]" >> $HGRCPATH
3 $ echo "[extensions]" >> $HGRCPATH
4 $ echo "mq=">> $HGRCPATH
4 $ echo "mq=">> $HGRCPATH
@@ -130,5 +130,3 b''
130 2 files, 2 changesets, 2 total revisions
130 2 files, 2 changesets, 2 total revisions
131
131
132 $ cd ..
132 $ cd ..
133
134 #endif
General Comments 0
You need to be logged in to leave comments. Login now