Mercurial > evolve
comparison tests/test-simple4server.t @ 1365:8ac1b7bd46ea
tests: ignores other core output in capability testing
This will avoid breaking the test anytime core changes.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Mon, 15 Jun 2015 17:44:12 -0700 |
parents | aff6bc2a6b2d |
children | 73eb4f33f9dc |
comparison
equal
deleted
inserted
replaced
1364:f00d91365ab9 | 1365:8ac1b7bd46ea |
---|---|
72 | 72 |
73 Capacity testing | 73 Capacity testing |
74 =================== | 74 =================== |
75 | 75 |
76 $ wget -q -O - http://localhost:$HGPORT/?cmd=hello | 76 $ wget -q -O - http://localhost:$HGPORT/?cmd=hello |
77 capabilities: lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch stream bundle2=HG20%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Ahgtagsfnodes%0Alistkeys%0Aobsmarkers%3DV0%2CV1%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 _evoext_pushobsmarkers_0 _evoext_pullobsmarkers_0 _evoext_obshash_0 _evoext_obshash_1 _evoext_getbundle_obscommon | 77 capabilities: * _evoext_pushobsmarkers_0 _evoext_pullobsmarkers_0 _evoext_obshash_0 _evoext_obshash_1 _evoext_getbundle_obscommon (glob) |
78 $ wget -q -O - http://localhost:$HGPORT/?cmd=capabilities | 78 $ wget -q -O - http://localhost:$HGPORT/?cmd=capabilities |
79 lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch stream bundle2=HG20%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Ahgtagsfnodes%0Alistkeys%0Aobsmarkers%3DV0%2CV1%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 _evoext_pushobsmarkers_0 _evoext_pullobsmarkers_0 _evoext_obshash_0 _evoext_obshash_1 _evoext_getbundle_obscommon (no-eol) | 79 * _evoext_pushobsmarkers_0 _evoext_pullobsmarkers_0 _evoext_obshash_0 _evoext_obshash_1 _evoext_getbundle_obscommon (no-eol) (glob) |
80 | 80 |
81 $ wget -q -O - "http://localhost:$HGPORT/?cmd=listkeys&namespace=namespaces" | sort | 81 $ wget -q -O - "http://localhost:$HGPORT/?cmd=listkeys&namespace=namespaces" | sort |
82 bookmarks | 82 bookmarks |
83 namespaces | 83 namespaces |
84 obsolete | 84 obsolete |
135 bookmarks | 135 bookmarks |
136 namespaces | 136 namespaces |
137 obsolete | 137 obsolete |
138 phases | 138 phases |
139 $ wget -q -O - http://localhost:$HGPORT/?cmd=hello | 139 $ wget -q -O - http://localhost:$HGPORT/?cmd=hello |
140 capabilities: lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch stream bundle2=HG20%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Ahgtagsfnodes%0Alistkeys%0Aobsmarkers%3DV0%2CV1%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 _evoext_pushobsmarkers_0 _evoext_pullobsmarkers_0 _evoext_obshash_0 _evoext_obshash_1 _evoext_getbundle_obscommon | 140 capabilities: * _evoext_pushobsmarkers_0 _evoext_pullobsmarkers_0 _evoext_obshash_0 _evoext_obshash_1 _evoext_getbundle_obscommon (glob) |
141 $ wget -q -O - http://localhost:$HGPORT/?cmd=capabilities | 141 $ wget -q -O - http://localhost:$HGPORT/?cmd=capabilities |
142 lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch stream bundle2=HG20%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Ahgtagsfnodes%0Alistkeys%0Aobsmarkers%3DV0%2CV1%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 _evoext_pushobsmarkers_0 _evoext_pullobsmarkers_0 _evoext_obshash_0 _evoext_obshash_1 _evoext_getbundle_obscommon (no-eol) | 142 * _evoext_pushobsmarkers_0 _evoext_pullobsmarkers_0 _evoext_obshash_0 _evoext_obshash_1 _evoext_getbundle_obscommon (no-eol) (glob) |
143 | 143 |
144 $ echo '[__temporary__]' >> server/.hg/hgrc | 144 $ echo '[__temporary__]' >> server/.hg/hgrc |
145 $ echo 'advertiseobsolete=False' >> server/.hg/hgrc | 145 $ echo 'advertiseobsolete=False' >> server/.hg/hgrc |
146 $ $TESTDIR/killdaemons.py $DAEMON_PIDS | 146 $ $TESTDIR/killdaemons.py $DAEMON_PIDS |
147 $ hg serve -R server -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log | 147 $ hg serve -R server -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log |
149 | 149 |
150 $ wget -q -O - "http://localhost:$HGPORT/?cmd=listkeys&namespace=namespaces" | sort | 150 $ wget -q -O - "http://localhost:$HGPORT/?cmd=listkeys&namespace=namespaces" | sort |
151 bookmarks | 151 bookmarks |
152 namespaces | 152 namespaces |
153 phases | 153 phases |
154 $ wget -q -O - http://localhost:$HGPORT/?cmd=hello | 154 $ wget -q -O - http://localhost:$HGPORT/?cmd=hello | grep _evoext_pushobsmarkers_0 |
155 capabilities: lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch stream bundle2=HG20%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Ahgtagsfnodes%0Alistkeys%0Aobsmarkers%3DV0%2CV1%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 | 155 [1] |
156 $ wget -q -O - http://localhost:$HGPORT/?cmd=capabilities | 156 $ wget -q -O - http://localhost:$HGPORT/?cmd=capabilities | grep _evoext_pushobsmarkers_0 |
157 lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch stream bundle2=HG20%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Ahgtagsfnodes%0Alistkeys%0Aobsmarkers%3DV0%2CV1%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 (no-eol) | 157 [1] |
158 | 158 |
159 $ echo 'advertiseobsolete=True' >> server/.hg/hgrc | 159 $ echo 'advertiseobsolete=True' >> server/.hg/hgrc |
160 $ $TESTDIR/killdaemons.py $DAEMON_PIDS | 160 $ $TESTDIR/killdaemons.py $DAEMON_PIDS |
161 $ hg serve -R server -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log | 161 $ hg serve -R server -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log |
162 $ cat hg.pid >> $DAEMON_PIDS | 162 $ cat hg.pid >> $DAEMON_PIDS |
165 bookmarks | 165 bookmarks |
166 namespaces | 166 namespaces |
167 obsolete | 167 obsolete |
168 phases | 168 phases |
169 $ wget -q -O - http://localhost:$HGPORT/?cmd=hello | 169 $ wget -q -O - http://localhost:$HGPORT/?cmd=hello |
170 capabilities: lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch stream bundle2=HG20%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Ahgtagsfnodes%0Alistkeys%0Aobsmarkers%3DV0%2CV1%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 _evoext_pushobsmarkers_0 _evoext_pullobsmarkers_0 _evoext_obshash_0 _evoext_obshash_1 _evoext_getbundle_obscommon | 170 capabilities: * _evoext_pushobsmarkers_0 _evoext_pullobsmarkers_0 _evoext_obshash_0 _evoext_obshash_1 _evoext_getbundle_obscommon (glob) |
171 $ wget -q -O - http://localhost:$HGPORT/?cmd=capabilities | 171 $ wget -q -O - http://localhost:$HGPORT/?cmd=capabilities |
172 lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch stream bundle2=HG20%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Ahgtagsfnodes%0Alistkeys%0Aobsmarkers%3DV0%2CV1%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 _evoext_pushobsmarkers_0 _evoext_pullobsmarkers_0 _evoext_obshash_0 _evoext_obshash_1 _evoext_getbundle_obscommon (no-eol) | 172 * _evoext_pushobsmarkers_0 _evoext_pullobsmarkers_0 _evoext_obshash_0 _evoext_obshash_1 _evoext_getbundle_obscommon (no-eol) (glob) |