Parcourir la source

qemuimage-testlib: Fix quoting issue

(From OE-Core rev: c8b411608bea2700e904141268f609eeee542ae2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie il y a 12 ans
Parent
commit
92aeb31341
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      scripts/qemuimage-testlib

+ 1 - 1
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