tests/test-locale.t
author Manuel Jacob <me@manueljacob.de>
Thu, 09 Jul 2020 12:52:42 +0200
changeset 45096 e9e452eafbfb
parent 44977 afcad425a0b6
permissions -rw-r--r--
tests: add tests for when stdout or stderr is connected to `os.devnull` The original motivation was that creating PTYs on Windows is not possible, but `NUL` is recognized as a TTY, so we can have at least some test coverage for the TTY case. I think it doesn’t hurt to run the test cases on all systems.

  $ LANG=nonexistent LC_ALL=nonexistent LANGUAGE=nonexistent hg version -q
  Mercurial Distributed SCM (version *) (glob)