Mercurial > hg
comparison tests/test-treediscovery-legacy.t @ 17466:d5a3bda6e170
killdaemons: take file argument explicitely
It makes it easier to use as a generic replacement for kill utility,
mostly for Windows tests.
author | Patrick Mezard <patrick@mezard.eu> |
---|---|
date | Mon, 20 Aug 2012 22:36:51 +0200 |
parents | 4f8054d3171b |
children | bc7377160fa7 |
comparison
equal
deleted
inserted
replaced
17465:2d4a096e213c | 17466:d5a3bda6e170 |
---|---|
33 > cp $HGRCPATH-nocap $HGRCPATH | 33 > cp $HGRCPATH-nocap $HGRCPATH |
34 > hg serve -R $1 -p $HGPORT -d --pid-file=hg.pid -E errors.log | 34 > hg serve -R $1 -p $HGPORT -d --pid-file=hg.pid -E errors.log |
35 > cat hg.pid >> $DAEMON_PIDS | 35 > cat hg.pid >> $DAEMON_PIDS |
36 > } | 36 > } |
37 $ tstop() { | 37 $ tstop() { |
38 > "$TESTDIR/killdaemons.py" | 38 > "$TESTDIR/killdaemons.py" $DAEMON_PIDS |
39 > cp $HGRCPATH-withcap $HGRCPATH | 39 > cp $HGRCPATH-withcap $HGRCPATH |
40 > } | 40 > } |
41 | 41 |
42 Both are empty: | 42 Both are empty: |
43 | 43 |