summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-12-24 01:03:47 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2010-12-24 01:03:47 +0000
commitcab983b0d097851b60e1c4ad7174702b37327e7a (patch)
tree513b8c8be29236a8ca7da6cfc8f8e9d658cd3d78 /scripts
parent6e63f4ea75b9b749a0ef3784d07d500b06b601ed (diff)
downloadpoky-cab983b0d097851b60e1c4ad7174702b37327e7a.tar.gz
qemuimage-testlib: Improve quoting causing problems under certain circumstances
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/qemuimage-testlib2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/qemuimage-testlib b/scripts/qemuimage-testlib
index 2c38b9413b..713a47434d 100644
--- a/scripts/qemuimage-testlib
+++ b/scripts/qemuimage-testlib
@@ -204,7 +204,7 @@ Test_Kill_Qemu()
204# function to check if there is any qemu process 204# function to check if there is any qemu process
205Test_Check_Qemu_UP() 205Test_Check_Qemu_UP()
206{ 206{
207 local count=`ps -eo command | cut -d " " -f 1 | grep -c \(^qemu\|.*/qemu\)` 207 local count=`ps -eo command | cut -d " " -f 1 | grep -c "\(^qemu\|.*/qemu\)"`
208 if [ ${count} -lt 1 ]; then 208 if [ ${count} -lt 1 ]; then
209 Test_Info "There is no Qemu process" 209 Test_Info "There is no Qemu process"
210 return 1 210 return 1