# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@fb.com>
# Date 2015-05-27 18:37:11
# Node ID df723a2655e901d644c9efeebbf10243fbe4b3f4
# Parent  fbcbdc62f24869417f32aae6faffff1f0ef3bc8b

test: use both bundle formats in test-pull-http

It is valuable to have both formats tested.

diff --git a/tests/test-pull-http.t b/tests/test-pull-http.t
--- a/tests/test-pull-http.t
+++ b/tests/test-pull-http.t
@@ -48,7 +48,11 @@ expect error, cloning not allowed
   $ echo 'allowpull = false' >> .hg/hgrc
   $ hg serve -p $HGPORT -d --pid-file=hg.pid -E errors.log
   $ cat hg.pid >> $DAEMON_PIDS
-  $ hg clone http://localhost:$HGPORT/ test4
+  $ hg clone http://localhost:$HGPORT/ test4 --config experimental.bundle2-exp=True
+  requesting all changes
+  abort: authorization failed
+  [255]
+  $ hg clone http://localhost:$HGPORT/ test4 --config experimental.bundle2-exp=False
   abort: authorization failed
   [255]
   $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS