# 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 -r ce01b4810aef -r 4a359b8f8fae tests/test-convert-git.t --- a/tests/test-convert-git.t Fri Apr 15 22:23:34 2016 -0400 +++ b/tests/test-convert-git.t Fri Apr 15 22:37:52 2016 -0400 @@ -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 +