From: GNU Libc Maintainers Date: Sun, 8 Sep 2019 20:34:02 +0000 (+0100) Subject: git-pexpect-pretty-printers X-Git-Tag: archive/raspbian/2.29-1+rpi1^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=84b92da058b08f94d9383e4bbb8237a95d22c76d;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)