]> code.ossystems Code Review - openembedded-core.git/commit
qemuimage-testlib: Add check for existence of image and correctness of ip address
authorJiajun Xu <jiajun.xu@intel.com>
Thu, 23 Dec 2010 15:09:06 +0000 (23:09 +0800)
committerRichard Purdie <rpurdie@linux.intel.com>
Thu, 23 Dec 2010 15:52:37 +0000 (15:52 +0000)
commit236faced1d907b025a3136c5949a311104d3a661
treef20c3deebb5b0506172f551bdc48a06adbfad320
parent2ed75cff6a987b39065f9405874a696f2326031b
qemuimage-testlib: Add check for existence of image and correctness of ip address

Fixes [BUGID #612, #611]

Add check for existence of image to be tested in qemuimage-testlib.
This ensures that sanity test returns failure immediatly when there is
no image found. And also add check for the correctness of ip address.
If the ip address returned by function Test_Fetch_Target_IP is 0, it
means qemu starts up failed and no valid ip address found.

Signed-off-by Jiajun Xu <jiajun.xu@intel.com>
scripts/qemuimage-testlib