tests/test-ssh-clone-r.t
changeset 36217 1ee1a42bfdae
parent 34661 eb586ed5d8ce
child 39480 89630d0b3e23
--- a/tests/test-ssh-clone-r.t	Thu Feb 08 11:39:23 2018 -0800
+++ b/tests/test-ssh-clone-r.t	Mon Feb 12 16:35:06 2018 -0800
@@ -1,5 +1,15 @@
 This test tries to exercise the ssh functionality with a dummy script
 
+#testcases sshv1 sshv2
+
+#if sshv2
+  $ cat >> $HGRCPATH << EOF
+  > [experimental]
+  > sshpeer.advertise-v2 = true
+  > sshserver.support-v2 = true
+  > EOF
+#endif
+
 creating 'remote' repo
 
   $ hg init remote