Mercurial > public > mercurial-scm > hg-stable
diff tests/test-ssh-repoerror.t @ 40227:f4893b59230f
py3: more globing of things to make output compatible between py2 and py3
This also makes the test-ssh-repoerror.t pass on Python 3.
Differential Revision: https://phab.mercurial-scm.org/D5038
author | Pulkit Goyal <pulkit@yandex-team.ru> |
---|---|
date | Sat, 13 Oct 2018 05:03:24 +0300 |
parents | 5abc47d4ca6b |
children | b6673e9bdcf6 |
line wrap: on
line diff
--- a/tests/test-ssh-repoerror.t Sat Oct 13 04:54:35 2018 +0300 +++ b/tests/test-ssh-repoerror.t Sat Oct 13 05:03:24 2018 +0300 @@ -16,7 +16,7 @@ $ chmod a-rx no-read $ hg id ssh://user@dummy/no-read - remote: abort: Permission denied: '$TESTTMP/no-read/.hg' + remote: abort: Permission denied: *$TESTTMP/no-read/.hg* (glob) abort: no suitable response from remote hg! [255] @@ -50,7 +50,7 @@ $ chmod a-rx deep $ hg id ssh://user@dummy/deep/nested - remote: abort: Permission denied: '$TESTTMP/deep/nested/.hg' + remote: abort: Permission denied: *$TESTTMP/deep/nested/.hg* (glob) abort: no suitable response from remote hg! [255]