##// 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,6 +1,6 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
@@ -8,7 +8,8 b''
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 > | xargs "$check_code" --warnings --nolineno --per-file=0 \
12 > || false
13 > || false
13 tests/test-serve.t:0:
14 tests/test-serve.t:0:
14 > > kill `cat hg.pid`
15 > > kill `cat hg.pid`
General Comments 0
You need to be logged in to leave comments. Login now