Mercurial > hg
changeset 28939:ce01b4810aef
test-subrepo-git: add globs for Windows
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Fri, 15 Apr 2016 22:23:34 -0400 |
parents | ea1fec3e9aba |
children | 4a359b8f8fae |
files | tests/test-subrepo-git.t |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-subrepo-git.t Thu Apr 14 02:41:15 2016 -0700 +++ b/tests/test-subrepo-git.t Fri Apr 15 22:23:34 2016 -0400 @@ -1146,7 +1146,7 @@ $ hg commit -m "add subrepo" $ cd .. $ env -u GIT_ALLOW_PROTOCOL hg clone malicious-subrepository malicious-subrepository-protected - Cloning into '$TESTTMP/tc/malicious-subrepository-protected/s'... + Cloning into '$TESTTMP/tc/malicious-subrepository-protected/s'... (glob) fatal: transport 'ext' not allowed updating to branch default cloning subrepo s from ext::sh -c echo% pwned% >&2 @@ -1155,7 +1155,7 @@ whitelisting of ext should be respected (that's the git submodule behaviour) $ env GIT_ALLOW_PROTOCOL=ext hg clone malicious-subrepository malicious-subrepository-clone-allowed - Cloning into '$TESTTMP/tc/malicious-subrepository-clone-allowed/s'... + Cloning into '$TESTTMP/tc/malicious-subrepository-clone-allowed/s'... (glob) pwned fatal: Could not read from remote repository.