changeset 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 09907cd7a17a
children 52bb6c1224ae
files tests/test-commandserver.t
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-commandserver.t	Wed Apr 04 16:29:19 2018 -0700
+++ b/tests/test-commandserver.t	Wed Apr 04 16:32:51 2018 -0700
@@ -189,6 +189,8 @@
   > foo = bar
   > EOF
 
+#if no-extraextensions
+
   >>> from hgclient import check, readchannel, runcommand, sep
   >>> @check
   ... def localhgrc(server):
@@ -222,6 +224,7 @@
   ui.interactive=False
   ui.mergemarkers=detailed
   ui.nontty=true
+#endif
 
   $ rm -R foo