# HG changeset patch # User Matt Harbison # Date 1460774272 14400 # Node ID 4a359b8f8fae92bf230f21d9f4824e49682f643e # Parent ce01b4810aef6a3bb97badecab48af7c628b54b8 test-convert-git: skip tests with invalid path characters on Windows diff --git a/tests/test-convert-git.t b/tests/test-convert-git.t --- a/tests/test-convert-git.t +++ b/tests/test-convert-git.t @@ -730,6 +730,8 @@ $ hg convert git-repo4 git-repo4-broken-hg 2>&1 | grep 'abort:' abort: cannot read changes in 1c0ce3c5886f83a1d78a7b517cdff5cf9ca17bdd +#if no-windows + test for escaping the repo name (CVE-2016-3069) $ git init '`echo pwned >COMMAND-INJECTION`' @@ -746,3 +748,6 @@ updating bookmarks $ test -f COMMAND-INJECTION [1] + +#endif +