summaryrefslogtreecommitdiffstats
path: root/scripts/qemuimage-testlib
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-12-24 01:03:47 (GMT)
committerRichard Purdie <rpurdie@linux.intel.com>2010-12-24 01:03:47 (GMT)
commitcab983b0d097851b60e1c4ad7174702b37327e7a (patch)
tree513b8c8be29236a8ca7da6cfc8f8e9d658cd3d78 /scripts/qemuimage-testlib
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/qemuimage-testlib')
-rw-r--r--scripts/qemuimage-testlib2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/qemuimage-testlib b/scripts/qemuimage-testlib
index 2c38b94..713a474 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