imagetest-qemu: Add test case for dmesg check in target

Add a test case for error log check with command dmesg in target. The
case introduces a new folder in target, "/opt/test", which holds test
scripts running in target.

Signed-off-by Jiajun Xu <jiajun.xu@intel.com>
This commit is contained in:
Jiajun Xu
2010-10-30 01:03:22 +08:00
committed by Richard Purdie
parent 53b775b496
commit 12a861359a
14 changed files with 211 additions and 11 deletions

View File

@@ -12,16 +12,15 @@
. $POKYBASE/scripts/qemuimage-testlib
TIMEOUT=360
QEMU_IPADDR="192.168.7.2"
RET=1
# Start qemu and check its network
Test_Create_Qemu ${QEMU_IPADDR} ${TIMEOUT}
Test_Create_Qemu ${TIMEOUT}
# If qemu network is up, check ssh service in qemu
if [ $? -eq 0 ]; then
Test_Info "Begin to Test SSH Service in Qemu"
Test_SSH_UP ${QEMU_IPADDR} ${TIMEOUT}
Test_SSH_UP ${TARGET_IPADDR} ${TIMEOUT}
RET=$?
else
RET=1