tests: conditionalize test-commandserver.t based on extra extensions
authorGregory Szorc <gregory.szorc@gmail.com>
Wed, 04 Apr 2018 16:32:51 -0700
changeset 37427 6282c1965f8e
parent 37426 09907cd7a17a
child 37428 52bb6c1224ae
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
tests/test-commandserver.t
--- 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