]> code.ossystems Code Review - openembedded-core.git/commit
qemuimage-testlib: Fix the check for running qemu processes
authorRichard Purdie <rpurdie@linux.intel.com>
Thu, 23 Dec 2010 17:28:47 +0000 (17:28 +0000)
committerRichard Purdie <rpurdie@linux.intel.com>
Thu, 23 Dec 2010 17:28:47 +0000 (17:28 +0000)
commit11833f70024e9d1199b911734c0d385a423d0c73
tree73024559f38405ed59e71f04f2cabde05cd74bd9
parentdf74cf25f0904562623a15b641a7770d2fa88570
qemuimage-testlib: Fix the check for running qemu processes

Previously, any active command containing the word "qemu" including
in the command path would trigger a "success" result for detecting
the qemu process. This change fixes the check to search for commands
starting with "qemu" and ignores pathnames.

It also shortens the timeout for the qemu process to appear to 10
seconds. If it doesn't appear in that time there is always a problem.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
scripts/qemuimage-testlib