test-convert-git: skip tests with invalid path characters on Windows
authorMatt Harbison <matt_harbison@yahoo.com>
Fri, 15 Apr 2016 22:37:52 -0400
changeset 28940 4a359b8f8fae
parent 28939 ce01b4810aef
child 28941 8353d154a9bd
test-convert-git: skip tests with invalid path characters on Windows
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
+