Mercurial > hg
comparison tests/test-commandserver.t @ 37427:6282c1965f8e
tests: conditionalize test-commandserver.t based on extra extensions
If running with extra extensions we get an output difference.
Differential Revision: https://phab.mercurial-scm.org/D3107
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Wed, 04 Apr 2018 16:32:51 -0700 |
parents | 7f78de1c93aa |
children | f1186c292d03 |
comparison
equal
deleted
inserted
replaced
37426:09907cd7a17a | 37427:6282c1965f8e |
---|---|
186 | 186 |
187 $ cat <<EOF >> .hg/hgrc | 187 $ cat <<EOF >> .hg/hgrc |
188 > [ui] | 188 > [ui] |
189 > foo = bar | 189 > foo = bar |
190 > EOF | 190 > EOF |
191 | |
192 #if no-extraextensions | |
191 | 193 |
192 >>> from hgclient import check, readchannel, runcommand, sep | 194 >>> from hgclient import check, readchannel, runcommand, sep |
193 >>> @check | 195 >>> @check |
194 ... def localhgrc(server): | 196 ... def localhgrc(server): |
195 ... readchannel(server) | 197 ... readchannel(server) |
220 *** runcommand -R foo showconfig ui defaults | 222 *** runcommand -R foo showconfig ui defaults |
221 ui.slash=True | 223 ui.slash=True |
222 ui.interactive=False | 224 ui.interactive=False |
223 ui.mergemarkers=detailed | 225 ui.mergemarkers=detailed |
224 ui.nontty=true | 226 ui.nontty=true |
227 #endif | |
225 | 228 |
226 $ rm -R foo | 229 $ rm -R foo |
227 | 230 |
228 #if windows | 231 #if windows |
229 $ PYTHONPATH="$TESTTMP/repo;$PYTHONPATH" | 232 $ PYTHONPATH="$TESTTMP/repo;$PYTHONPATH" |