mirror of
https://git.yoctoproject.org/poky
synced 2026-09-13 00:49:33 +02:00
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:
committed by
Richard Purdie
parent
53b775b496
commit
12a861359a
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user