From 12a861359a3413ded52174c814e8653c56caee17 Mon Sep 17 00:00:00 2001 From: Jiajun Xu Date: Sat, 30 Oct 2010 01:03:22 +0800 Subject: 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 --- scripts/qemuimage-tests/sanity/ssh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'scripts/qemuimage-tests/sanity/ssh') diff --git a/scripts/qemuimage-tests/sanity/ssh b/scripts/qemuimage-tests/sanity/ssh index 3c7638cc2..f9143d055 100755 --- a/scripts/qemuimage-tests/sanity/ssh +++ b/scripts/qemuimage-tests/sanity/ssh @@ -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 -- cgit v1.2.3