[master 0/4] Poke at iutil.execReadlines

David Shea dshea at redhat.com
Fri Aug 8 19:32:46 UTC 2014


Maybe this is why anaconda-yum gets stuck sometimes? I don't know. I just
figure a thread can't starve if there ain't no thread, so this gets rid of
a thread and adds some tests to make sure I didn't break things too badly.

If this actually does fix anything it might be worth copying into f21 I guess.

David Shea (4):
  Move non-exec tests into a separate class.
  Add some tests for execReadlines
  Remove iutil.fork_orphan
  Simplify iutil.execReadlines

 pyanaconda/iutil.py                  | 116 ++++++++---------------
 tests/lib/timer.py                   |  41 ++++++++
 tests/pyanaconda_tests/iutil_test.py | 177 ++++++++++++++++++++++++++++++++++-
 3 files changed, 254 insertions(+), 80 deletions(-)
 create mode 100644 tests/lib/timer.py

-- 
1.9.3



More information about the anaconda-patches mailing list