mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
test-obsolete.t: migrate to killdaemons from kill cat pidfile
This commit is contained in:
parent
74aee9b680
commit
b2f57ecfe9
@ -10,10 +10,6 @@ New errors are not allowed. Warnings are strongly discouraged.
|
||||
|
||||
$ hg manifest | xargs "$check_code" --warnings --nolineno --per-file=0 \
|
||||
> || false
|
||||
tests/test-obsolete.t:0:
|
||||
> $ kill `cat hg.pid`
|
||||
don't use kill, use killdaemons.py
|
||||
don't use kill, use killdaemons.py
|
||||
tests/test-serve.t:0:
|
||||
> > kill `cat hg.pid`
|
||||
don't use kill, use killdaemons.py
|
||||
|
@ -752,7 +752,7 @@ check filelog view
|
||||
|
||||
check that web.view config option:
|
||||
|
||||
$ kill `cat hg.pid`
|
||||
$ "$TESTDIR/killdaemons.py" hg.pid
|
||||
$ cat >> .hg/hgrc << EOF
|
||||
> [web]
|
||||
> view=all
|
||||
@ -761,7 +761,7 @@ check that web.view config option:
|
||||
$ hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
|
||||
$ "$TESTDIR/get-with-headers.py" --headeronly localhost:$HGPORT 'rev/67'
|
||||
200 Script output follows
|
||||
$ kill `cat hg.pid`
|
||||
$ "$TESTDIR/killdaemons.py" hg.pid
|
||||
|
||||
Checking _enable=False warning if obsolete marker exists
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user