]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/selftest/imagefeatures: handle killpg victim not existing
authorRoss Burton <ross.burton@intel.com>
Thu, 23 Jul 2015 21:59:48 +0000 (22:59 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 24 Jul 2015 22:29:40 +0000 (23:29 +0100)
commit4d777ce9736e91bb560558b691b8025acf784046
tree283c663ce4fe336996a9ef550c5f9d3def08198f
parent312417c182267584141d4ba62458bdd1d9d9ccb9
oeqa/selftest/imagefeatures: handle killpg victim not existing

If Pexpect throws an exception it may be because the child has already died, in
which case killpg will fail.  Catch the latter exception silently, and output
the exception from Pexpect.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/imagefeatures.py