From: GNU Libc Maintainers Date: Fri, 20 Sep 2019 19:39:03 +0000 (+0100) Subject: git-pexpect-pretty-printers X-Git-Tag: archive/raspbian/2.29-2+rpi1^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=0c41a0502375de8688d4e904df32d73f21e45de8;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)