--- a/tests/test-convert-git.t Thu Jun 15 17:13:23 2017 -0700
+++ b/tests/test-convert-git.t Thu Jun 15 17:14:53 2017 -0700
@@ -948,7 +948,7 @@
$ hg convert git-repo4 git-repo4-broken-hg 2>&1 | grep 'abort:'
abort: cannot read changes in 1c0ce3c5886f83a1d78a7b517cdff5cf9ca17bdd
-#if no-windows
+#if no-windows git19
test for escaping the repo name (CVE-2016-3069)
--- a/tests/test-subrepo-git.t Thu Jun 15 17:13:23 2017 -0700
+++ b/tests/test-subrepo-git.t Thu Jun 15 17:14:53 2017 -0700
@@ -1137,6 +1137,8 @@
? s/foobar.orig
? s/snake.python.orig
+#if git19
+
test for Git CVE-2016-3068
$ hg init malicious-subrepository
$ cd malicious-subrepository
@@ -1178,3 +1180,5 @@
[255]
$ f -Dq pwned.txt
pwned: you asked for it
+
+#endif