]> granicus.if.org Git - python/commit
Issue #14771: Redirect GDB's stdin to avoid messing the terminal settings
authorMartin Panter <vadmium+py@gmail.com>
Sat, 16 Jan 2016 05:18:47 +0000 (05:18 +0000)
committerMartin Panter <vadmium+py@gmail.com>
Sat, 16 Jan 2016 05:18:47 +0000 (05:18 +0000)
commit7a5fe6d5d11ac1d86f49576d79506642f108edd5
treef800a9991d19df1596071dc2e1561f287a4a7bb2
parent20b1bfa6fb609e91343dfdd454841f50d6d5e140
Issue #14771: Redirect GDB's stdin to avoid messing the terminal settings

Otherwise, GDB seems to affect the terminal's foreground process group,
interfering with test_ioctl, which does not expect the foreground process to
change during the test. This change also solves the problem of the tests
being stopped in the shell if test_gdb is run twice in parallel.
Lib/test/test_gdb.py