]> code.ossystems Code Review - openembedded-core.git/commitdiff
qemuimage-testlib: Improve quoting causing problems under certain circumstances
authorRichard Purdie <rpurdie@linux.intel.com>
Fri, 24 Dec 2010 01:03:47 +0000 (01:03 +0000)
committerRichard Purdie <rpurdie@linux.intel.com>
Fri, 24 Dec 2010 01:03:47 +0000 (01:03 +0000)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
scripts/qemuimage-testlib

index 2c38b9413b304c4a5c29948689b0893897a61f7d..713a47434d54526e3b2114c9d41bd36f5d812681 100644 (file)
@@ -204,7 +204,7 @@ Test_Kill_Qemu()
 # function to check if there is any qemu process
 Test_Check_Qemu_UP()
 {
-       local count=`ps -eo command | cut -d " " -f 1 | grep -c \(^qemu\|.*/qemu\)`
+       local count=`ps -eo command | cut -d " " -f 1 | grep -c "\(^qemu\|.*/qemu\)"`
        if [ ${count} -lt 1 ]; then
                Test_Info "There is no Qemu process"
                return 1