##// 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 1 $ check_code="$TESTDIR"/../contrib/check-code.py
2 2 $ cd "$TESTDIR"/..
3 $ if hg identify -q > /dev/null; then :
3 $ if hg identify -q > /dev/null 2>&1; then :
4 4 > else
5 5 > echo "skipped: not a Mercurial working dir" >&2
6 6 > exit 80
7 7 > fi
8 8
9 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 13 > || false
13 14 tests/test-serve.t:0:
14 15 > > kill `cat hg.pid`
15 16 don't use kill, use killdaemons.py
16 17 tests/test-serve.t:0:
17 18 > > kill `cat hg.pid` 2>/dev/null
18 19 don't use kill, use killdaemons.py
19 20 [1]
General Comments 0
You need to be logged in to leave comments. Login now