tests/test-bundle2-remote-changegroup.t
changeset 36217 1ee1a42bfdae
parent 34661 eb586ed5d8ce
child 37310 5da299dabdc1
--- a/tests/test-bundle2-remote-changegroup.t	Thu Feb 08 11:39:23 2018 -0800
+++ b/tests/test-bundle2-remote-changegroup.t	Mon Feb 12 16:35:06 2018 -0800
@@ -1,5 +1,15 @@
 #require killdaemons
 
+#testcases sshv1 sshv2
+
+#if sshv2
+  $ cat >> $HGRCPATH << EOF
+  > [experimental]
+  > sshpeer.advertise-v2 = true
+  > sshserver.support-v2 = true
+  > EOF
+#endif
+
 Create an extension to test bundle2 remote-changegroup parts
 
   $ cat > bundle2.py << EOF