From: GNU Libc Maintainers Date: Fri, 10 Jan 2020 22:21:25 +0000 (+0000) Subject: git-pexpect-pretty-printers X-Git-Tag: archive/raspbian/2.29-9+rpi1~1^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=73b3116e634bcf7479cab4aafb04d0f58e3b27d7;p=glibc.git git-pexpect-pretty-printers 2019-02-14 Jan Kratochvil * scripts/test_printers_common.py: Set TERM to a known harmless value. Gbp-Pq: Topic any Gbp-Pq: Name git-pexpect-pretty-printers.diff --- diff --git a/scripts/test_printers_common.py b/scripts/test_printers_common.py index dada6aadd..b2bd4ba1c 100644 --- a/scripts/test_printers_common.py +++ b/scripts/test_printers_common.py @@ -60,6 +60,10 @@ TIMEOUTFACTOR = os.environ.get('TIMEOUTFACTOR') if TIMEOUTFACTOR: timeout = int(TIMEOUTFACTOR) +# Otherwise GDB is run in interactive mode and readline may send escape +# sequences confusing output for pexpect. +os.environ["TERM"]="dumb" + try: # Check the gdb version. version_cmd = '{0} --version'.format(gdb_invocation, timeout=timeout)