[oe-commits] Richard Purdie : qemuimage-testlib: Fix quoting issue

git at git.openembedded.org git at git.openembedded.org
Sat Mar 30 17:24:46 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: c8b411608bea2700e904141268f609eeee542ae2
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=c8b411608bea2700e904141268f609eeee542ae2

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Sat Mar 30 16:44:27 2013 +0000

qemuimage-testlib: Fix quoting issue

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 scripts/qemuimage-testlib |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/qemuimage-testlib b/scripts/qemuimage-testlib
index 8fb2538..f791c52 100755
--- a/scripts/qemuimage-testlib
+++ b/scripts/qemuimage-testlib
@@ -446,7 +446,7 @@ Test_Create_Qemu()
 	# Parse IP address of target from the qemu command line
 	TARGET_IPADDR=`Test_Fetch_Target_IP $QEMUPID`
 	echo "Target IP is ${TARGET_IPADDR}"
-	if [ ${TARGET_IPADDR} = "" -o "${TARGET_IPADDR}" = "0" ]; then
+	if [ "${TARGET_IPADDR}" = "" -o "${TARGET_IPADDR}" = "0" ]; then
 		Test_Info "There is no qemu process or qemu ip address found, return failed"
 		ps -wwf
 		ps axww -O ppid





More information about the Openembedded-commits mailing list