diff options
author | Tomi Ollila <tomi.ollila@iki.fi> | 2013-01-24 09:39:02 +0200 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2013-01-24 06:59:21 -0400 |
commit | a12f810a00cf0779e9b62c400f7ccd7af9d3a113 (patch) | |
tree | e853d3d22b90be5e14aee3827e9c5254be3326bc /version | |
parent | cbaacad316331a3cb34ca797184e164ca8c468a2 (diff) |
test/test-lib.sh: use vt100 as dtach terminal if TERM dumb or unset/empty
The TERM environment variable is set to 'dumb' when running tests, but
the original value of it is stored for echoing colors and running emacs
(somewhat interactively) in detached session. Emacs requires some
terminal control sequences to be available for interactive operation.
In case original TERM is (also) 'dumb' (or unset/empty) emacs cannot
run interactively. To fix this problem dtach (and emacs as it's child
process) is run with TERM=vt100 in case original TERM was unset, empty
or 'dumb'. This way there is a chance to run emacs tests with different
user terminals and potentially find problems there.
Diffstat (limited to 'version')
0 files changed, 0 insertions, 0 deletions