test_ipc_daemon: implement internal SleepProcess
authorZac Medico <zmedico@gentoo.org>
Fri, 5 Oct 2012 04:08:01 +0000 (21:08 -0700)
committerZac Medico <zmedico@gentoo.org>
Fri, 5 Oct 2012 04:08:01 +0000 (21:08 -0700)
commite58829dd5e2272b9c3878cd0ec92680fae075b40
tree63b1f54b6472ec11005377f6d367ded8caadfb97
parent8e5dcfaf9c57da3be20ae673f65c3b5b8d9827c2
test_ipc_daemon: implement internal SleepProcess

Emulate the sleep command, in order to ensure a consistent return code
when it is killed by SIGTERM (see bug #437180).
pym/portage/tests/ebuild/test_ipc_daemon.py