[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1bb351e22777173fd8de0f265819e49a039e6644
Freddy Vulto
freddy at blondy.prov
Sun Nov 15 20:57:34 UTC 2009
The following commit has been merged in the master branch:
commit 1bb351e22777173fd8de0f265819e49a039e6644
Author: Freddy Vulto <freddy at blondy.prov>
Date: Sun Nov 15 21:51:46 2009 +0100
(testsuite) Set TERM=linux
The TERM=dummy setting causes backspaces (^H) to appear in stdout when running
from cron. Changing to TERM=linux should fix the ^H's in stdout AND the bug of
`meta_on' or `meta_off' escape sequences in stdout, caused by a bug in
supposedly libreadline5:
http://old.nabble.com/-PATCH-:-fix-libreadline5-linked-applications-sending-meta_on-or-meta_off-to-stdout-td25557585.html
Steps to reproduce output of ^H with TERM=dummy:
$ batch
warning: commands will be executed using /bin/sh
at> ./runUnit _known_hosts_real.exp --debug < /dev/tty40
at> ^D
NOTE: You need to connect a terminal (< /dev/tty..) to the test suite
when running from cron. See also doc/testing.txt, "Running tests via
cron".
diff --git a/test/config/bashrc b/test/config/bashrc
index e8083f0..b3037d0 100644
--- a/test/config/bashrc
+++ b/test/config/bashrc
@@ -16,7 +16,7 @@ export PS2='> '
export INPUTRC=$TESTDIR/config/inputrc
# Avoid escape junk at beginning of line from readline, see e.g.
# http://bugs.gentoo.org/246091
-export TERM=dummy
+export TERM=linux
# Ensure enough columns so expect doesn't have to care about line breaks
stty columns 150
--
bash-completion
More information about the Bash-completion-commits
mailing list