tests/test-commit-interactive-curses.t
changeset 38726 d79f3afb079e
parent 38431 00368bc0a614
child 39723 5abc47d4ca6b
--- a/tests/test-commit-interactive-curses.t	Mon Jul 16 00:32:33 2018 -0400
+++ b/tests/test-commit-interactive-curses.t	Mon Jul 16 11:38:56 2018 -0700
@@ -368,6 +368,16 @@
   $ chunkselectorinterface
   curses
 
+If TERM=dumb, we use text, even if the config says curses
+  $ chunkselectorinterface
+  curses
+  $ TERM=dumb chunkselectorinterface
+  text
+(Something is keeping TERM=dumb in the environment unless I do this, it's not
+scoped to just that previous command like in many shells)
+  $ TERM=xterm chunkselectorinterface
+  curses
+
 It is possible to override the default interface with a feature specific
 interface
   $ cp $HGRCPATH.pretest $HGRCPATH