mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
tests: remove last two check-code warnings about killdaemons
Removes the last of the warnings in test-check-code-hg.t introduced in fcbcb17ae5ed.
This commit is contained in:
parent
e1f1e38c39
commit
5353c124c3
@ -11,10 +11,3 @@ New errors are not allowed. Warnings are strongly discouraged.
|
||||
$ hg manifest 2>/dev/null \
|
||||
> | xargs "$check_code" --warnings --nolineno --per-file=0 \
|
||||
> || false
|
||||
tests/test-serve.t:0:
|
||||
> > kill `cat hg.pid`
|
||||
don't use kill, use killdaemons.py
|
||||
tests/test-serve.t:0:
|
||||
> > kill `cat hg.pid` 2>/dev/null
|
||||
don't use kill, use killdaemons.py
|
||||
[1]
|
||||
|
@ -9,12 +9,7 @@
|
||||
> cat hg.pid >> "$DAEMON_PIDS"
|
||||
> echo % errors
|
||||
> cat errors.log
|
||||
> if [ "$KILLQUIETLY" = "Y" ]; then
|
||||
> kill `cat hg.pid` 2>/dev/null
|
||||
> else
|
||||
> kill `cat hg.pid`
|
||||
> fi
|
||||
> while kill -0 `cat hg.pid` 2>/dev/null; do sleep 0; done
|
||||
> "$TESTDIR/killdaemons.py" hg.pid
|
||||
> }
|
||||
|
||||
$ hg init test
|
||||
|
Loading…
Reference in New Issue
Block a user