##// END OF EJS Templates
tests: guard against obsolete markers in the hg repo itself...
Kevin Bullock -
r18601:ce844e8e default
parent child Browse files
Show More
@@ -1,19 +1,20 b''
1 $ check_code="$TESTDIR"/../contrib/check-code.py
1 $ check_code="$TESTDIR"/../contrib/check-code.py
2 $ cd "$TESTDIR"/..
2 $ cd "$TESTDIR"/..
3 $ if hg identify -q > /dev/null; then :
3 $ if hg identify -q > /dev/null 2>&1; then :
4 > else
4 > else
5 > echo "skipped: not a Mercurial working dir" >&2
5 > echo "skipped: not a Mercurial working dir" >&2
6 > exit 80
6 > exit 80
7 > fi
7 > fi
8
8
9 New errors are not allowed. Warnings are strongly discouraged.
9 New errors are not allowed. Warnings are strongly discouraged.
10
10
11 $ hg manifest | xargs "$check_code" --warnings --nolineno --per-file=0 \
11 $ hg manifest 2>/dev/null \
12 > || false
12 > | xargs "$check_code" --warnings --nolineno --per-file=0 \
13 > || false
13 tests/test-serve.t:0:
14 tests/test-serve.t:0:
14 > > kill `cat hg.pid`
15 > > kill `cat hg.pid`
15 don't use kill, use killdaemons.py
16 don't use kill, use killdaemons.py
16 tests/test-serve.t:0:
17 tests/test-serve.t:0:
17 > > kill `cat hg.pid` 2>/dev/null
18 > > kill `cat hg.pid` 2>/dev/null
18 don't use kill, use killdaemons.py
19 don't use kill, use killdaemons.py
19 [1]
20 [1]
General Comments 0
You need to be logged in to leave comments. Login now