comparison tests/test-simple4server-bundle2.t @ 1522:97b9141cbf72

test: use 'killdaemons.py' from the run-tests directory This is a step toward not shipping our own test runners and relying on the official Mercurial one.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Mon, 02 Nov 2015 11:04:44 +0000
parents 8ac1b7bd46ea
children e359d33856c3 e036dfc8cfcc
comparison
equal deleted inserted replaced
1521:829fbd4a7275 1522:97b9141cbf72
138 $ wget -q -O - http://localhost:$HGPORT/?cmd=capabilities 138 $ wget -q -O - http://localhost:$HGPORT/?cmd=capabilities
139 * _evoext_pushobsmarkers_0 _evoext_pullobsmarkers_0 _evoext_obshash_0 _evoext_obshash_1 _evoext_getbundle_obscommon (no-eol) (glob) 139 * _evoext_pushobsmarkers_0 _evoext_pullobsmarkers_0 _evoext_obshash_0 _evoext_obshash_1 _evoext_getbundle_obscommon (no-eol) (glob)
140 140
141 $ echo '[__temporary__]' >> server/.hg/hgrc 141 $ echo '[__temporary__]' >> server/.hg/hgrc
142 $ echo 'advertiseobsolete=False' >> server/.hg/hgrc 142 $ echo 'advertiseobsolete=False' >> server/.hg/hgrc
143 $ $TESTDIR/killdaemons.py $DAEMON_PIDS 143 $ $RUNTESTDIR/killdaemons.py $DAEMON_PIDS
144 $ hg serve -R server -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log 144 $ hg serve -R server -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
145 $ cat hg.pid >> $DAEMON_PIDS 145 $ cat hg.pid >> $DAEMON_PIDS
146 146
147 $ wget -q -O - "http://localhost:$HGPORT/?cmd=listkeys&namespace=namespaces" | sort 147 $ wget -q -O - "http://localhost:$HGPORT/?cmd=listkeys&namespace=namespaces" | sort
148 bookmarks 148 bookmarks
149 namespaces 149 namespaces
150 phases 150 phases
151 151
152 $ echo 'advertiseobsolete=True' >> server/.hg/hgrc 152 $ echo 'advertiseobsolete=True' >> server/.hg/hgrc
153 $ $TESTDIR/killdaemons.py $DAEMON_PIDS 153 $ $RUNTESTDIR/killdaemons.py $DAEMON_PIDS
154 $ hg serve -R server -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log 154 $ hg serve -R server -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
155 $ cat hg.pid >> $DAEMON_PIDS 155 $ cat hg.pid >> $DAEMON_PIDS
156 156
157 $ wget -q -O - "http://localhost:$HGPORT/?cmd=listkeys&namespace=namespaces" | sort 157 $ wget -q -O - "http://localhost:$HGPORT/?cmd=listkeys&namespace=namespaces" | sort
158 bookmarks 158 bookmarks