test-wireproto: add some obsmarker discovery usage.
The old code was never checking that the discovery were skipping common markers.
This is now done.
--- a/tests/test-wireproto.t Tue Apr 21 17:37:59 2015 +0200
+++ b/tests/test-wireproto.t Tue Apr 21 17:37:19 2015 +0200
@@ -98,5 +98,33 @@
searching for changes
no changes found
+Test some markers discovery
+===========================
+
+ $ echo c > C
+ $ hg add C
+ $ hg commit -m C
+ $ echo c >> C
+ $ hg amend
+ $ hg push
+ pushing to ssh://user@dummy/server
+ searching for changes
+ remote: adding changesets
+ remote: adding manifests
+ remote: adding file changes
+ remote: added 1 changesets with 1 changes to 1 files
+ remote: obsmarker-exchange: 139 bytes received
+ remote: 2 new obsolescence markers
+ $ hg -R ../other pull
+ pulling from ssh://user@dummy/server
+ searching for changes
+ adding changesets
+ adding manifests
+ adding file changes
+ added 1 changesets with 1 changes to 1 files
+ obsmarker-exchange: 139 bytes received
+ 2 new obsolescence markers
+ (run 'hg update' to get a working copy)
+
$ cd ..