generic-poky/scripts/qemuimage-tests/sanity
Richard Purdie 6c9743d9b9 qemu-testlib: Add python helper and simplify shell
The current code has a race since it greps for *any* qemu process
running, even if it isn't the one we started. This leads to some sanity
tests potentially failing on machines where multiple sets of sanity tests
are running.

To resovle this and some other ugly code issues, add a python script
to accurately walk the process tree and find the qemu process. We can
then replace all the shell functions attempting this which happen to
work in many cases but not all.

Also clean up some of the error handling so its more legible.

(From OE-Core rev: b9e052ed6b604f0049bcfa968a57f15d6e3d6395)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-19 11:48:30 +00:00
..
boot Replace POKYBASE with COREBASE 2011-04-21 00:29:29 +01:00
compiler Replace POKYBASE with COREBASE 2011-04-21 00:29:29 +01:00
connman Replace POKYBASE with COREBASE 2011-04-21 00:29:29 +01:00
dmesg Replace POKYBASE with COREBASE 2011-04-21 00:29:29 +01:00
rpm_query Replace POKYBASE with COREBASE 2011-04-21 00:29:29 +01:00
scp Replace POKYBASE with COREBASE 2011-04-21 00:29:29 +01:00
shutdown qemu-testlib: Add python helper and simplify shell 2013-03-19 11:48:30 +00:00
smart_help Update sanity tests to use smart instead of zypper 2012-12-17 17:24:51 +00:00
smart_query Update sanity tests to use smart instead of zypper 2012-12-17 17:24:51 +00:00
ssh Replace POKYBASE with COREBASE 2011-04-21 00:29:29 +01:00