Patchwork [1,of,3] test-subrepo-git: add globs for Windows

login
register
mail settings
Submitter Matt Harbison
Date April 16, 2016, 3:52 a.m.
Message ID <1459063eacbfe221976e.1460778732@Envy>
Download mbox | patch
Permalink /patch/14674/
State Accepted
Delegated to: Yuya Nishihara
Headers show

Comments

Matt Harbison - April 16, 2016, 3:52 a.m.
# HG changeset patch
# User Matt Harbison <matt_harbison@yahoo.com>
# Date 1460773414 14400
#      Fri Apr 15 22:23:34 2016 -0400
# Node ID 1459063eacbfe221976eea7fdd17854e27a8fa98
# Parent  d9539959167df7cb3acd08c4ab53d8e8a7f027cb
test-subrepo-git: add globs for Windows
Yuya Nishihara - April 16, 2016, 6:53 a.m.
On Fri, 15 Apr 2016 23:52:12 -0400, Matt Harbison wrote:
> # HG changeset patch
> # User Matt Harbison <matt_harbison@yahoo.com>
> # Date 1460773414 14400
> #      Fri Apr 15 22:23:34 2016 -0400
> # Node ID 1459063eacbfe221976eea7fdd17854e27a8fa98
> # Parent  d9539959167df7cb3acd08c4ab53d8e8a7f027cb
> test-subrepo-git: add globs for Windows

Looks good, queued the series, thanks.

Patch

diff --git a/tests/test-subrepo-git.t b/tests/test-subrepo-git.t
--- a/tests/test-subrepo-git.t
+++ b/tests/test-subrepo-git.t
@@ -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.