Mercurial > public > mercurial-scm > hg
diff tests/test-acl.t @ 33752:82c39a8ec3b1 stable
hg: avoid relying on errno numbers / descriptions
A few tests hardcode errno numbers and/or descriptions in the output, causing
test failures on platforms where these values are different.
Differential Revision: https://phab.mercurial-scm.org/D362
author | Tristan Seligmann <mithrandi@mithrandi.net> |
---|---|
date | Sat, 12 Aug 2017 14:29:22 +0200 |
parents | 560ceb654180 |
children | af20468eb0a4 |
line wrap: on
line diff
--- a/tests/test-acl.t Sat Aug 12 14:24:25 2017 +0200 +++ b/tests/test-acl.t Sat Aug 12 14:29:22 2017 +0200 @@ -883,7 +883,7 @@ added 3 changesets with 3 changes to 3 files calling hook pretxnchangegroup.acl: hgext.acl.hook acl: checking access for user "barney" - error: pretxnchangegroup.acl hook raised an exception: [Errno 2] No such file or directory: '../acl.config' + error: pretxnchangegroup.acl hook raised an exception: [Errno *] * (glob) bundle2-input-part: total payload size 1553 bundle2-input-bundle: 3 parts total transaction abort!