Mercurial > evolve
diff tests/test-evolve-serveronly.t @ 2073:1885c7d78bf6
server only: test a more standard method of disabling exchange
We have an "official" config option from core so lets just use it.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Thu, 09 Mar 2017 17:33:57 -0800 |
parents | 80446ff6d83a |
children | f1ffd093ef30 b265900a9650 |
line wrap: on
line diff
--- a/tests/test-evolve-serveronly.t Thu Mar 09 12:47:31 2017 -0800 +++ b/tests/test-evolve-serveronly.t Thu Mar 09 17:33:57 2017 -0800 @@ -163,8 +163,8 @@ $ curl -s http://localhost:$HGPORT/?cmd=capabilities _evoext_getbundle_obscommon _evoext_obshash_0 _evoext_obshash_1 _evoext_pullobsmarkers_0 _evoext_pushobsmarkers_0 batch * (no-eol) (glob) - $ echo '[__temporary__]' >> server/.hg/hgrc - $ echo 'advertiseobsolete=False' >> server/.hg/hgrc + $ echo '[experimental]' >> server/.hg/hgrc + $ echo 'evolution=!' >> server/.hg/hgrc $ $RUNTESTDIR/killdaemons.py $DAEMON_PIDS $ hg serve -R server -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log $ cat hg.pid >> $DAEMON_PIDS @@ -178,7 +178,7 @@ $ curl -s http://localhost:$HGPORT/?cmd=capabilities | grep _evoext_pushobsmarkers_0 [1] - $ echo 'advertiseobsolete=True' >> server/.hg/hgrc + $ echo 'evolution=' >> server/.hg/hgrc $ $RUNTESTDIR/killdaemons.py $DAEMON_PIDS $ hg serve -R server -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log $ cat hg.pid >> $DAEMON_PIDS