Mercurial > hg
changeset 17019:5d0538599428
test-bad-pull: partially adjust for Windows
On a English Windows 7, the testcase fails with
$ hg clone http://localhost:$HGPORT/ copy
abort: error: No connection could be made because the target machine actively refused it
Since the error message on non-English Windows installs are most likely
different, we have to glob the entire error message away for Windows.
author | Adrian Buehlmann <adrian@cadifra.com> |
---|---|
date | Tue, 19 Jun 2012 17:05:04 +0200 |
parents | e7fdfc702d9f |
children | e0d9a3bfe406 |
files | tests/test-bad-pull.t |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-bad-pull.t Thu Jun 21 03:05:02 2012 +0200 +++ b/tests/test-bad-pull.t Tue Jun 19 17:05:04 2012 +0200 @@ -1,8 +1,14 @@ $ "$TESTDIR/hghave" serve || exit 80 +#if windows + $ hg clone http://localhost:$HGPORT/ copy + abort: * (glob) + [255] +#else $ hg clone http://localhost:$HGPORT/ copy abort: error: Connection refused [255] +#endif $ test -d copy [1]