qemuimagetest: fix erroneous ps errors when qemu couldn't be started
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 26 Mar 2013 12:43:04 +0000 (12:43 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 26 Mar 2013 17:50:08 +0000 (17:50 +0000)
commit8d04502caf8f6af795701f2780d819ca621217ef
treec957b6e93692d7b23eba6b85a3ba4f4284add65a
parent667969753e9023eaa07f91c88928ff6dd02bc81c
qemuimagetest: fix erroneous ps errors when qemu couldn't be started

The helper script was printing an error to stdout when it couldn't find
any qemu child processes; output this error to stderr instead and
redirect stderr to /dev/null when running from qemuimage-testlib so that
QEMUPID is actually blank if there are no qemu instances found.

(From OE-Core rev: 7c2137a07cca8e1d40d3c8b4b2c6321d80f2b1de)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/qemuimage-testlib
scripts/qemuimage-testlib-pythonhelper