mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 21:32:12 +02:00
qemuimagetest: Remove connman test for lsb image and fix one warning in Test_Create_Qemu
There is no connman in LSB image. So we need to remove connman test from it. And when we check if ip address fetched by Test_Fetch_Target_IP is valid, we should use "==" operator for string comparison. Signed-off-by Jiajun Xu <jiajun.xu@intel.com>
This commit is contained in:
committed by
Richard Purdie
parent
d2d5456cd3
commit
601af9f8ea
@@ -420,7 +420,7 @@ Test_Create_Qemu()
|
||||
sleep 5
|
||||
TARGET_IPADDR=`Test_Fetch_Target_IP $PID`
|
||||
# If IP address is 0, means there is no qemu process found
|
||||
if [ ${TARGET_IPADDR} -eq 0 ]; then
|
||||
if [ ${TARGET_IPADDR} == "0" ]; then
|
||||
Test_Info "There is no qemu process or qemu ip address found, return failed"
|
||||
return $ret
|
||||
fi
|
||||
|
||||
@@ -6,4 +6,3 @@ sanity shutdown
|
||||
sanity zypper_help
|
||||
sanity zypper_search
|
||||
sanity rpm_query
|
||||
sanity connman
|
||||
|
||||
@@ -6,4 +6,3 @@ sanity shutdown
|
||||
sanity zypper_help
|
||||
sanity zypper_search
|
||||
sanity rpm_query
|
||||
sanity connman
|
||||
|
||||
@@ -6,4 +6,3 @@ sanity shutdown
|
||||
sanity zypper_help
|
||||
sanity zypper_search
|
||||
sanity rpm_query
|
||||
sanity connman
|
||||
|
||||
@@ -6,4 +6,3 @@ sanity shutdown
|
||||
sanity zypper_help
|
||||
sanity zypper_search
|
||||
sanity rpm_query
|
||||
sanity connman
|
||||
|
||||
@@ -6,4 +6,3 @@ sanity shutdown
|
||||
sanity zypper_help
|
||||
sanity zypper_search
|
||||
sanity rpm_query
|
||||
sanity connman
|
||||
|
||||
Reference in New Issue
Block a user