]> code.ossystems Code Review - openembedded-core.git/commitdiff
qemuimage-testlib: Fix quoting issue
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 30 Mar 2013 16:44:27 +0000 (16:44 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 30 Mar 2013 17:26:29 +0000 (17:26 +0000)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/qemuimage-testlib

index 8fb2538490ee7f2f441f40daf97f93f22e4dd209..f791c527abe5c2def0dfebd2c6ef6ba875ac4353 100755 (executable)
@@ -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