Mercurial > hg
diff tests/test-archive.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 | 953faba28e91 |
children | 331d611813ec |
line wrap: on
line diff
--- a/tests/test-archive.t Sun Aug 19 18:06:15 2012 +0200 +++ b/tests/test-archive.t Mon Aug 20 22:36:51 2012 +0200 @@ -24,7 +24,7 @@ > echo % $3 and $4 disallowed should both give 403 > "$TESTDIR/get-with-headers.py" localhost:$HGPORT "archive/tip.$3" | head -n 1 > "$TESTDIR/get-with-headers.py" localhost:$HGPORT "archive/tip.$4" | head -n 1 - > "$TESTDIR/killdaemons.py" + > "$TESTDIR/killdaemons.py" $DAEMON_PIDS > cat errors.log > cp .hg/hgrc-base .hg/hgrc > } @@ -93,7 +93,7 @@ testing: test-archive-2c0277f05ed4/foo OK No errors detected in compressed data of archive.zip. - $ "$TESTDIR/killdaemons.py" + $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS $ hg archive -t tar test.tar $ tar tf test.tar