changeset 28940:4a359b8f8fae

test-convert-git: skip tests with invalid path characters on Windows
author Matt Harbison <matt_harbison@yahoo.com>
date Fri, 15 Apr 2016 22:37:52 -0400
parents ce01b4810aef
children 8353d154a9bd
files tests/test-convert-git.t
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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
+