test: use both bundle formats in test-pull-http
authorPierre-Yves David <pierre-yves.david@fb.com>
Wed, 27 May 2015 11:37:11 -0700
changeset 25372 df723a2655e9
parent 25371 fbcbdc62f248
child 25373 9793e52279a1
test: use both bundle formats in test-pull-http It is valuable to have both formats tested.
tests/test-pull-http.t
--- a/tests/test-pull-http.t	Wed May 27 06:52:23 2015 -0700
+++ b/tests/test-pull-http.t	Wed May 27 11:37:11 2015 -0700
@@ -48,7 +48,11 @@
   $ 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