Patchwork [1,of,3,main-line-of-work] test-discovery: disable bundle2 for legacy test (issue4610)

login
register
mail settings
Submitter Pierre-Yves David
Date May 15, 2015, 8:50 a.m.
Message ID <930772518ce8696a6a28.1431679837@marginatus.alto.octopoid.net>
Download mbox | patch
Permalink /patch/9088/
State Accepted
Headers show

Comments

Pierre-Yves David - May 15, 2015, 8:50 a.m.
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@fb.com>
# Date 1429607927 -7200
#      Tue Apr 21 11:18:47 2015 +0200
# Node ID 930772518ce8696a6a287b52d1112426a7eeb92b
# Parent  d1bd0fd07ee6adf4ab3be2b0a0a7c0df54d55abf
test-discovery: disable bundle2 for legacy test (issue4610)

We need to disable the "bundle2" capability to ensure we stay on legacy
capability.

Patch

diff --git a/tests/test-treediscovery.t b/tests/test-treediscovery.t
--- a/tests/test-treediscovery.t
+++ b/tests/test-treediscovery.t
@@ -1,10 +1,10 @@ 
 #require killdaemons
 
 Tests discovery against servers without getbundle support:
 
-  $ CAP=getbundle
+  $ CAP="getbundle bundle2"
   $ . "$TESTDIR/notcapable"
   $ cat >> $HGRCPATH <<EOF
   > [ui]
   > logtemplate="{rev} {node|short}: {desc} {branches}\n"
   > EOF