diff options
author | Jiajun Xu <jiajun.xu@intel.com> | 2010-10-30 01:03:22 +0800 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-11-10 21:09:22 +0800 |
commit | 12a861359a3413ded52174c814e8653c56caee17 (patch) | |
tree | 305a53f25d58def6e2793e7f6fcdd1a7387f0287 /scripts/qemuimage-tests/sanity/ssh | |
parent | 53b775b49645ce6bcac48def8671bf5f751c730b (diff) | |
download | poky-12a861359a3413ded52174c814e8653c56caee17.tar.gz |
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>
Diffstat (limited to 'scripts/qemuimage-tests/sanity/ssh')
-rwxr-xr-x | scripts/qemuimage-tests/sanity/ssh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/qemuimage-tests/sanity/ssh b/scripts/qemuimage-tests/sanity/ssh index 3c7638cc2e..f9143d0558 100755 --- a/scripts/qemuimage-tests/sanity/ssh +++ b/scripts/qemuimage-tests/sanity/ssh | |||
@@ -12,16 +12,15 @@ | |||
12 | . $POKYBASE/scripts/qemuimage-testlib | 12 | . $POKYBASE/scripts/qemuimage-testlib |
13 | 13 | ||
14 | TIMEOUT=360 | 14 | TIMEOUT=360 |
15 | QEMU_IPADDR="192.168.7.2" | ||
16 | RET=1 | 15 | RET=1 |
17 | 16 | ||
18 | # Start qemu and check its network | 17 | # Start qemu and check its network |
19 | Test_Create_Qemu ${QEMU_IPADDR} ${TIMEOUT} | 18 | Test_Create_Qemu ${TIMEOUT} |
20 | 19 | ||
21 | # If qemu network is up, check ssh service in qemu | 20 | # If qemu network is up, check ssh service in qemu |
22 | if [ $? -eq 0 ]; then | 21 | if [ $? -eq 0 ]; then |
23 | Test_Info "Begin to Test SSH Service in Qemu" | 22 | Test_Info "Begin to Test SSH Service in Qemu" |
24 | Test_SSH_UP ${QEMU_IPADDR} ${TIMEOUT} | 23 | Test_SSH_UP ${TARGET_IPADDR} ${TIMEOUT} |
25 | RET=$? | 24 | RET=$? |
26 | else | 25 | else |
27 | RET=1 | 26 | RET=1 |