Avoid readline conflicts in pexpect
commit56a731d4ad319e473851893980e734b7ee42c1a0
authorJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 8 Feb 2019 18:49:19 +0000 (8 13:49 -0500)
committerDJ Delorie <dj@redhat.com>
Thu, 14 Feb 2019 21:28:03 +0000 (14 16:28 -0500)
treed004eb5354a84d7744c1cea2d04fd569e38dc06f
parent712182c8dcc43e34a265268fb209b9dd20967f1e
Avoid readline conflicts in pexpect

In some cases, sensitive to readline version and the user's
environment, gdb might emit escape codes while run under python's
pexpect (i.e. testing pretty printers).  This patch, suggested
by Jan, helps isolate the test from the user's environment.

Tested on RHEL 7 x86_64 with DTS 7 and EPEL, which is one
magic combination of components that triggers this bug.
ChangeLog
scripts/test_printers_common.py