qemuimagetest: Add several cases for sanity test
cover qemuimagetest: Add several cases for sanity test
There are 5 cases added for sanity test. These cases covers basic function check for connman, compiler, zypper and rpm in target.
Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: jxu49/master
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=jxu49/master
Thanks,
Jiajun Xu <[email protected]>
---
Jiajun Xu (4):
qemuimagetest: Add basic function check for zypper command
qemuimagetest: Add basic function check for rpm command
qemuimagetest: Add basic function check for gcc/g++/make command in
target
qemuimagetest: Add basic function check for connman
scripts/qemuimage-tests/sanity/compiler | 52 ++++++++ scripts/qemuimage-tests/sanity/connman | 52 ++++++++ scripts/qemuimage-tests/sanity/rpm_query | 52 ++++++++ scripts/qemuimage-tests/sanity/zypper_help | 52 ++++++++ scripts/qemuimage-tests/sanity/zypper_search | 52 ++++++++ .../scenario/qemuarm/poky-image-lsb | 4 + .../scenario/qemuarm/poky-image-sato | 4 + .../scenario/qemuarm/poky-image-sdk | 5 + .../scenario/qemumips/poky-image-lsb | 4 + .../scenario/qemumips/poky-image-sato | 4 + .../scenario/qemumips/poky-image-sdk | 5 + .../scenario/qemuppc/poky-image-lsb | 4 + .../scenario/qemuppc/poky-image-sato | 4 + .../scenario/qemuppc/poky-image-sdk | 5 + .../scenario/qemux86-64/poky-image-lsb | 4 + .../scenario/qemux86-64/poky-image-sato | 4 + .../scenario/qemux86-64/poky-image-sdk | 5 + .../scenario/qemux86/poky-image-lsb | 4 + .../scenario/qemux86/poky-image-sato | 4 + .../scenario/qemux86/poky-image-sdk | 5 + scripts/qemuimage-tests/tools/compiler_test.sh | 137 ++++++++++++++++++++ scripts/qemuimage-tests/tools/connman_test.sh | 55 ++++++++ scripts/qemuimage-tests/tools/rpm_test.sh | 45 +++++++ scripts/qemuimage-tests/tools/zypper_test.sh | 45 +++++++ 24 files changed, 607 insertions(+), 0 deletions(-) create mode 100755 scripts/qemuimage-tests/sanity/compiler create mode 100755 scripts/qemuimage-tests/sanity/connman create mode 100755 scripts/qemuimage-tests/sanity/rpm_query create mode 100755 scripts/qemuimage-tests/sanity/zypper_help create mode 100755 scripts/qemuimage-tests/sanity/zypper_search create mode 100644 scripts/qemuimage-tests/tools/compiler_test.sh create mode 100644 scripts/qemuimage-tests/tools/connman_test.sh create mode 100644 scripts/qemuimage-tests/tools/rpm_test.sh create mode 100644 scripts/qemuimage-tests/tools/zypper_test.sh
PATCH 1/4 qemuimagetest: Add basic function check for zypper command
Add two cases for zypper sanity test.
Signed-off-by Jiajun Xu <[email protected]>
--- scripts/qemuimage-tests/sanity/zypper_help | 52 ++++++++++++++++++++ scripts/qemuimage-tests/sanity/zypper_search | 52 ++++++++++++++++++++ .../scenario/qemuarm/poky-image-lsb | 2 + .../scenario/qemuarm/poky-image-sato | 2 + .../scenario/qemuarm/poky-image-sdk | 2 + .../scenario/qemumips/poky-image-lsb | 2 + .../scenario/qemumips/poky-image-sato | 2 + .../scenario/qemumips/poky-image-sdk | 2 + .../scenario/qemuppc/poky-image-lsb | 2 + .../scenario/qemuppc/poky-image-sato | 2 + .../scenario/qemuppc/poky-image-sdk | 2 + .../scenario/qemux86-64/poky-image-lsb | 2 + .../scenario/qemux86-64/poky-image-sato | 2 + .../scenario/qemux86-64/poky-image-sdk | 2 + .../scenario/qemux86/poky-image-lsb | 2 + .../scenario/qemux86/poky-image-sato | 2 + .../scenario/qemux86/poky-image-sdk | 2 + scripts/qemuimage-tests/tools/zypper_test.sh | 45 +++++++++++++++++ 18 files changed, 179 insertions(+), 0 deletions(-) create mode 100755 scripts/qemuimage-tests/sanity/zypper_help create mode 100755 scripts/qemuimage-tests/sanity/zypper_search create mode 100644 scripts/qemuimage-tests/tools/zypper_test.sh
scripts/qemuimage-tests/sanity/zypper_help new file +52 -0
@@ -0,0 +1,52 @@ +#!/bin/bash +# Zypper Check Test Case for Sanity Test +# The case boot up the Qemu target with `poky-qemu qemuxxx`. +# Then check if zypper command can work in target. +# +# Author: Jiajun Xu <[email protected]> +# +# This file is licensed under the GNU General Public License, +# Version 2. +# + +. $POKYBASE/scripts/qemuimage-testlib + +TIMEOUT=360 +RET=1 + +# Start qemu and check its network +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 ${TARGET_IPADDR} ${TIMEOUT} + RET=$? +else + RET=1 +fi + +# Check if zypper help can work in target +if [ $RET -eq 0 -a -f $TOOLS/zypper_test.sh ]; then + # Copy zypper_test.sh into target + Test_Target_Pre ${TARGET_IPADDR} $TOOLS/zypper_test.sh + if [ $? -eq 0 ]; then + # Run zypper_test.sh to check if zypper help can work in target + Test_SSH ${TARGET_IPADDR} "sh $TARGET_TEST_DIR/zypper_test.sh help" + RET=$? + else + RET=1 + fi +fi + +if [ ${RET} -eq 0 ]; then + Test_Info "zypper help Test PASS" + Test_Kill_Qemu + Test_Print_Result "zypper_help" 0 + exit 0 +else + Test_Info "zypper help FAIL, Pls. check above error log" + Test_Kill_Qemu + Test_Print_Result "zypper_help" 1 + exit 1 +fi
scripts/qemuimage-tests/sanity/zypper_search new file +52 -0
52 lines not on this page · raw message
scripts/qemuimage-tests/scenario/qemuarm/poky-image-lsb +2 -0
@@ -3,3 +3,5 @@ sanity ssh sanity scp sanity dmesg sanity shutdown +sanity zypper_help +sanity zypper_search
scripts/qemuimage-tests/scenario/qemuarm/poky-image-sato +2 -0
@@ -3,3 +3,5 @@ sanity ssh sanity scp sanity dmesg sanity shutdown +sanity zypper_help +sanity zypper_search
scripts/qemuimage-tests/scenario/qemuarm/poky-image-sdk +2 -0
@@ -3,3 +3,5 @@ sanity ssh sanity scp sanity dmesg sanity shutdown +sanity zypper_help +sanity zypper_search
scripts/qemuimage-tests/scenario/qemumips/poky-image-lsb +2 -0
@@ -3,3 +3,5 @@ sanity ssh sanity scp sanity dmesg sanity shutdown +sanity zypper_help +sanity zypper_search
scripts/qemuimage-tests/scenario/qemumips/poky-image-sato +2 -0
@@ -3,3 +3,5 @@ sanity ssh sanity scp sanity dmesg sanity shutdown +sanity zypper_help +sanity zypper_search
scripts/qemuimage-tests/scenario/qemumips/poky-image-sdk +2 -0
@@ -3,3 +3,5 @@ sanity ssh sanity scp sanity dmesg sanity shutdown +sanity zypper_help +sanity zypper_search
scripts/qemuimage-tests/scenario/qemuppc/poky-image-lsb +2 -0
@@ -3,3 +3,5 @@ sanity ssh sanity scp sanity dmesg sanity shutdown +sanity zypper_help +sanity zypper_search
scripts/qemuimage-tests/scenario/qemuppc/poky-image-sato +2 -0
@@ -3,3 +3,5 @@ sanity ssh sanity scp sanity dmesg sanity shutdown +sanity zypper_help +sanity zypper_search
scripts/qemuimage-tests/scenario/qemuppc/poky-image-sdk +2 -0
@@ -3,3 +3,5 @@ sanity ssh sanity scp sanity dmesg sanity shutdown +sanity zypper_help +sanity zypper_search
scripts/qemuimage-tests/scenario/qemux86-64/poky-image-lsb +2 -0
@@ -3,3 +3,5 @@ sanity ssh sanity scp sanity dmesg sanity shutdown +sanity zypper_help +sanity zypper_search
scripts/qemuimage-tests/scenario/qemux86-64/poky-image-sato +2 -0
@@ -3,3 +3,5 @@ sanity ssh sanity scp sanity dmesg sanity shutdown +sanity zypper_help +sanity zypper_search
scripts/qemuimage-tests/scenario/qemux86-64/poky-image-sdk +2 -0
@@ -3,3 +3,5 @@ sanity ssh sanity scp sanity dmesg sanity shutdown +sanity zypper_help +sanity zypper_search
scripts/qemuimage-tests/scenario/qemux86/poky-image-lsb +2 -0
@@ -3,3 +3,5 @@ sanity ssh sanity scp sanity dmesg sanity shutdown +sanity zypper_help +sanity zypper_search
scripts/qemuimage-tests/scenario/qemux86/poky-image-sato +2 -0
@@ -3,3 +3,5 @@ sanity ssh sanity scp sanity dmesg sanity shutdown +sanity zypper_help +sanity zypper_search
scripts/qemuimage-tests/scenario/qemux86/poky-image-sdk +2 -0
@@ -3,3 +3,5 @@ sanity ssh sanity scp sanity dmesg sanity shutdown +sanity zypper_help +sanity zypper_search
scripts/qemuimage-tests/tools/zypper_test.sh new file +45 -0
45 lines not on this page · raw message
Signature · 1 line
1.7.1
PATCH 2/4 qemuimagetest: Add basic function check for rpm command
In reply to Jiajun XuAdd one case for rpm query sanity test.
Signed-off-by Jiajun Xu <[email protected]>
--- scripts/qemuimage-tests/sanity/rpm_query | 52 ++++++++++++++++++++ .../scenario/qemuarm/poky-image-lsb | 1 + .../scenario/qemuarm/poky-image-sato | 1 + .../scenario/qemuarm/poky-image-sdk | 1 + .../scenario/qemumips/poky-image-lsb | 1 + .../scenario/qemumips/poky-image-sato | 1 + .../scenario/qemumips/poky-image-sdk | 1 + .../scenario/qemuppc/poky-image-lsb | 1 + .../scenario/qemuppc/poky-image-sato | 1 + .../scenario/qemuppc/poky-image-sdk | 1 + .../scenario/qemux86-64/poky-image-lsb | 1 + .../scenario/qemux86-64/poky-image-sato | 1 + .../scenario/qemux86-64/poky-image-sdk | 1 + .../scenario/qemux86/poky-image-lsb | 1 + .../scenario/qemux86/poky-image-sato | 1 + .../scenario/qemux86/poky-image-sdk | 1 + scripts/qemuimage-tests/tools/rpm_test.sh | 45 +++++++++++++++++ 17 files changed, 112 insertions(+), 0 deletions(-) create mode 100755 scripts/qemuimage-tests/sanity/rpm_query create mode 100644 scripts/qemuimage-tests/tools/rpm_test.sh
scripts/qemuimage-tests/sanity/rpm_query new file +52 -0
@@ -0,0 +1,52 @@ +#!/bin/bash +# RPM Check Test Case for Sanity Test +# The case boot up the Qemu target with `poky-qemu qemuxxx`. +# Then check if rpm command can work in target. +# +# Author: Jiajun Xu <[email protected]> +# +# This file is licensed under the GNU General Public License, +# Version 2. +# + +. $POKYBASE/scripts/qemuimage-testlib + +TIMEOUT=360 +RET=1 + +# Start qemu and check its network +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 ${TARGET_IPADDR} ${TIMEOUT} + RET=$? +else + RET=1 +fi + +# Check if rpm query can work in target +if [ $RET -eq 0 -a -f $TOOLS/rpm_test.sh ]; then + # Copy rpm_test.sh into target + Test_Target_Pre ${TARGET_IPADDR} $TOOLS/rpm_test.sh + if [ $? -eq 0 ]; then + # Run rpm_test.sh to check if rpm query can work in target + Test_SSH ${TARGET_IPADDR} "sh $TARGET_TEST_DIR/rpm_test.sh -qa" + RET=$? + else + RET=1 + fi +fi + +if [ ${RET} -eq 0 ]; then + Test_Info "rpm query Test PASS" + Test_Kill_Qemu + Test_Print_Result "rpm_query" 0 + exit 0 +else + Test_Info "rpm query FAIL, Pls. check above error log" + Test_Kill_Qemu + Test_Print_Result "rpm_query" 1 + exit 1 +fi
scripts/qemuimage-tests/scenario/qemuarm/poky-image-lsb +1 -0
@@ -5,3 +5,4 @@ sanity dmesg sanity shutdown sanity zypper_help sanity zypper_search +sanity rpm_query
scripts/qemuimage-tests/scenario/qemuarm/poky-image-sato +1 -0
@@ -5,3 +5,4 @@ sanity dmesg sanity shutdown sanity zypper_help sanity zypper_search +sanity rpm_query
scripts/qemuimage-tests/scenario/qemuarm/poky-image-sdk +1 -0
@@ -5,3 +5,4 @@ sanity dmesg sanity shutdown sanity zypper_help sanity zypper_search +sanity rpm_query
scripts/qemuimage-tests/scenario/qemumips/poky-image-lsb +1 -0
@@ -5,3 +5,4 @@ sanity dmesg sanity shutdown sanity zypper_help sanity zypper_search +sanity rpm_query
scripts/qemuimage-tests/scenario/qemumips/poky-image-sato +1 -0
@@ -5,3 +5,4 @@ sanity dmesg sanity shutdown sanity zypper_help sanity zypper_search +sanity rpm_query
scripts/qemuimage-tests/scenario/qemumips/poky-image-sdk +1 -0
@@ -5,3 +5,4 @@ sanity dmesg sanity shutdown sanity zypper_help sanity zypper_search +sanity rpm_query
scripts/qemuimage-tests/scenario/qemuppc/poky-image-lsb +1 -0
@@ -5,3 +5,4 @@ sanity dmesg sanity shutdown sanity zypper_help sanity zypper_search +sanity rpm_query
scripts/qemuimage-tests/scenario/qemuppc/poky-image-sato +1 -0
@@ -5,3 +5,4 @@ sanity dmesg sanity shutdown sanity zypper_help sanity zypper_search +sanity rpm_query
scripts/qemuimage-tests/scenario/qemuppc/poky-image-sdk +1 -0
@@ -5,3 +5,4 @@ sanity dmesg sanity shutdown sanity zypper_help sanity zypper_search +sanity rpm_query
scripts/qemuimage-tests/scenario/qemux86-64/poky-image-lsb +1 -0
@@ -5,3 +5,4 @@ sanity dmesg sanity shutdown sanity zypper_help sanity zypper_search +sanity rpm_query
scripts/qemuimage-tests/scenario/qemux86-64/poky-image-sato +1 -0
@@ -5,3 +5,4 @@ sanity dmesg sanity shutdown sanity zypper_help sanity zypper_search +sanity rpm_query
scripts/qemuimage-tests/scenario/qemux86-64/poky-image-sdk +1 -0
@@ -5,3 +5,4 @@ sanity dmesg sanity shutdown sanity zypper_help sanity zypper_search +sanity rpm_query
scripts/qemuimage-tests/scenario/qemux86/poky-image-lsb +1 -0
@@ -5,3 +5,4 @@ sanity dmesg sanity shutdown sanity zypper_help sanity zypper_search +sanity rpm_query
scripts/qemuimage-tests/scenario/qemux86/poky-image-sato +1 -0
@@ -5,3 +5,4 @@ sanity dmesg sanity shutdown sanity zypper_help sanity zypper_search +sanity rpm_query
scripts/qemuimage-tests/scenario/qemux86/poky-image-sdk +1 -0
@@ -5,3 +5,4 @@ sanity dmesg sanity shutdown sanity zypper_help sanity zypper_search +sanity rpm_query
scripts/qemuimage-tests/tools/rpm_test.sh new file +45 -0
45 lines not on this page · raw message
Signature · 1 line
1.7.1
PATCH 3/4 qemuimagetest: Add basic function check for gcc/g++/make command in target
In reply to Jiajun XuAdd one case for compile tools sanity test in target, including gcc/g++/make.
Signed-off-by Jiajun Xu <[email protected]>
--- scripts/qemuimage-tests/sanity/compiler | 52 ++++++++ .../scenario/qemuarm/poky-image-sdk | 1 + .../scenario/qemumips/poky-image-sdk | 1 + .../scenario/qemuppc/poky-image-sdk | 1 + .../scenario/qemux86-64/poky-image-sdk | 1 + .../scenario/qemux86/poky-image-sdk | 1 + scripts/qemuimage-tests/tools/compiler_test.sh | 137 ++++++++++++++++++++ 7 files changed, 194 insertions(+), 0 deletions(-) create mode 100755 scripts/qemuimage-tests/sanity/compiler create mode 100644 scripts/qemuimage-tests/tools/compiler_test.sh
scripts/qemuimage-tests/sanity/compiler new file +52 -0
@@ -0,0 +1,52 @@ +#!/bin/bash +# Compiler Test Case for Sanity Test +# The case boot up the Qemu target with `poky-qemu qemuxxx`. +# Then check if gcc/g++/make command can work in target. +# +# Author: Jiajun Xu <[email protected]> +# +# This file is licensed under the GNU General Public License, +# Version 2. +# + +. $POKYBASE/scripts/qemuimage-testlib + +TIMEOUT=360 +RET=1 + +# Start qemu and check its network +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 ${TARGET_IPADDR} ${TIMEOUT} + RET=$? +else + RET=1 +fi + +# Check if gcc/g++/make can work in target +if [ $RET -eq 0 -a -f $TOOLS/compiler_test.sh ]; then + # Copy compiler_test.sh into target + Test_Target_Pre ${TARGET_IPADDR} $TOOLS/compiler_test.sh + if [ $? -eq 0 ]; then + # Run compiler_test.sh to check if gcc/g++/make can work in target + Test_SSH ${TARGET_IPADDR} "sh $TARGET_TEST_DIR/compiler_test.sh" + RET=$? + else + RET=1 + fi +fi + +if [ ${RET} -eq 0 ]; then + Test_Info "Compiler Test PASS" + Test_Kill_Qemu + Test_Print_Result "compiler" 0 + exit 0 +else + Test_Info "Compiler FAIL, Pls. check above error log" + Test_Kill_Qemu + Test_Print_Result "compiler" 1 + exit 1 +fi
scripts/qemuimage-tests/scenario/qemuarm/poky-image-sdk +1 -0
@@ -6,3 +6,4 @@ sanity shutdown sanity zypper_help sanity zypper_search sanity rpm_query +sanity compiler
scripts/qemuimage-tests/scenario/qemumips/poky-image-sdk +1 -0
@@ -6,3 +6,4 @@ sanity shutdown sanity zypper_help sanity zypper_search sanity rpm_query +sanity compiler
scripts/qemuimage-tests/scenario/qemuppc/poky-image-sdk +1 -0
@@ -6,3 +6,4 @@ sanity shutdown sanity zypper_help sanity zypper_search sanity rpm_query +sanity compiler
scripts/qemuimage-tests/scenario/qemux86-64/poky-image-sdk +1 -0
@@ -6,3 +6,4 @@ sanity shutdown sanity zypper_help sanity zypper_search sanity rpm_query +sanity compiler
scripts/qemuimage-tests/scenario/qemux86/poky-image-sdk +1 -0
@@ -6,3 +6,4 @@ sanity shutdown sanity zypper_help sanity zypper_search sanity rpm_query +sanity compiler
scripts/qemuimage-tests/tools/compiler_test.sh new file +137 -0
137 lines not on this page · raw message
Signature · 1 line
1.7.1
PATCH 4/4 qemuimagetest: Add basic function check for connman
In reply to Jiajun XuAdd one case for connman sanity test. We check if connmand is running in background after booting and if there is always one connmand process running even connmand is executed by several times.
Signed-off-by Jiajun Xu <[email protected]>
--- scripts/qemuimage-tests/sanity/connman | 52 ++++++++++++++++++ .../scenario/qemuarm/poky-image-lsb | 1 + .../scenario/qemuarm/poky-image-sato | 1 + .../scenario/qemuarm/poky-image-sdk | 1 + .../scenario/qemumips/poky-image-lsb | 1 + .../scenario/qemumips/poky-image-sato | 1 + .../scenario/qemumips/poky-image-sdk | 1 + .../scenario/qemuppc/poky-image-lsb | 1 + .../scenario/qemuppc/poky-image-sato | 1 + .../scenario/qemuppc/poky-image-sdk | 1 + .../scenario/qemux86-64/poky-image-lsb | 1 + .../scenario/qemux86-64/poky-image-sato | 1 + .../scenario/qemux86-64/poky-image-sdk | 1 + .../scenario/qemux86/poky-image-lsb | 1 + .../scenario/qemux86/poky-image-sato | 1 + .../scenario/qemux86/poky-image-sdk | 1 + scripts/qemuimage-tests/tools/connman_test.sh | 55 ++++++++++++++++++++ 17 files changed, 122 insertions(+), 0 deletions(-) create mode 100755 scripts/qemuimage-tests/sanity/connman create mode 100644 scripts/qemuimage-tests/tools/connman_test.sh
scripts/qemuimage-tests/sanity/connman new file +52 -0
@@ -0,0 +1,52 @@ +#!/bin/bash +# Conmman Check Test Case for Sanity Test +# The case boot up the Qemu target with `poky-qemu qemuxxx`. +# Then check if connman can work in target. +# +# Author: Jiajun Xu <[email protected]> +# +# This file is licensed under the GNU General Public License, +# Version 2. +# + +. $POKYBASE/scripts/qemuimage-testlib + +TIMEOUT=360 +RET=1 + +# Start qemu and check its network +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 ${TARGET_IPADDR} ${TIMEOUT} + RET=$? +else + RET=1 +fi + +# Check if connman can work in target +if [ $RET -eq 0 -a -f $TOOLS/connman_test.sh ]; then + # Copy connman_test.sh into target + Test_Target_Pre ${TARGET_IPADDR} $TOOLS/connman_test.sh + if [ $? -eq 0 ]; then + # Run connman_test.sh to check if connman can work in target + Test_SSH ${TARGET_IPADDR} "sh $TARGET_TEST_DIR/connman_test.sh" + RET=$? + else + RET=1 + fi +fi + +if [ ${RET} -eq 0 ]; then + Test_Info "Connman Test PASS" + Test_Kill_Qemu + Test_Print_Result "connman" 0 + exit 0 +else + Test_Info "Connman Test FAIL, Pls. check above error log" + Test_Kill_Qemu + Test_Print_Result "connman" 1 + exit 1 +fi
scripts/qemuimage-tests/scenario/qemuarm/poky-image-lsb +1 -0
@@ -6,3 +6,4 @@ sanity shutdown sanity zypper_help sanity zypper_search sanity rpm_query +sanity connman
scripts/qemuimage-tests/scenario/qemuarm/poky-image-sato +1 -0
@@ -6,3 +6,4 @@ sanity shutdown sanity zypper_help sanity zypper_search sanity rpm_query +sanity connman
scripts/qemuimage-tests/scenario/qemuarm/poky-image-sdk +1 -0
@@ -7,3 +7,4 @@ sanity zypper_help sanity zypper_search sanity rpm_query sanity compiler +sanity connman
scripts/qemuimage-tests/scenario/qemumips/poky-image-lsb +1 -0
@@ -6,3 +6,4 @@ sanity shutdown sanity zypper_help sanity zypper_search sanity rpm_query +sanity connman
scripts/qemuimage-tests/scenario/qemumips/poky-image-sato +1 -0
@@ -6,3 +6,4 @@ sanity shutdown sanity zypper_help sanity zypper_search sanity rpm_query +sanity connman
scripts/qemuimage-tests/scenario/qemumips/poky-image-sdk +1 -0
@@ -7,3 +7,4 @@ sanity zypper_help sanity zypper_search sanity rpm_query sanity compiler +sanity connman
scripts/qemuimage-tests/scenario/qemuppc/poky-image-lsb +1 -0
@@ -6,3 +6,4 @@ sanity shutdown sanity zypper_help sanity zypper_search sanity rpm_query +sanity connman
scripts/qemuimage-tests/scenario/qemuppc/poky-image-sato +1 -0
@@ -6,3 +6,4 @@ sanity shutdown sanity zypper_help sanity zypper_search sanity rpm_query +sanity connman
scripts/qemuimage-tests/scenario/qemuppc/poky-image-sdk +1 -0
@@ -7,3 +7,4 @@ sanity zypper_help sanity zypper_search sanity rpm_query sanity compiler +sanity connman
scripts/qemuimage-tests/scenario/qemux86-64/poky-image-lsb +1 -0
@@ -6,3 +6,4 @@ sanity shutdown sanity zypper_help sanity zypper_search sanity rpm_query +sanity connman
scripts/qemuimage-tests/scenario/qemux86-64/poky-image-sato +1 -0
@@ -6,3 +6,4 @@ sanity shutdown sanity zypper_help sanity zypper_search sanity rpm_query +sanity connman
scripts/qemuimage-tests/scenario/qemux86-64/poky-image-sdk +1 -0
@@ -7,3 +7,4 @@ sanity zypper_help sanity zypper_search sanity rpm_query sanity compiler +sanity connman
scripts/qemuimage-tests/scenario/qemux86/poky-image-lsb +1 -0
@@ -6,3 +6,4 @@ sanity shutdown sanity zypper_help sanity zypper_search sanity rpm_query +sanity connman
scripts/qemuimage-tests/scenario/qemux86/poky-image-sato +1 -0
@@ -6,3 +6,4 @@ sanity shutdown sanity zypper_help sanity zypper_search sanity rpm_query +sanity connman
scripts/qemuimage-tests/scenario/qemux86/poky-image-sdk +1 -0
@@ -7,3 +7,4 @@ sanity zypper_help sanity zypper_search sanity rpm_query sanity compiler +sanity connman
scripts/qemuimage-tests/tools/connman_test.sh new file +55 -0
55 lines not on this page · raw message
Signature · 1 line
1.7.1
Quoted 55 lines · Jiajun Xu
There are 5 cases added for sanity test. These cases covers basic function check for connman, compiler, zypper and rpm in target.
Pull URL:
git://git.pokylinux.org/poky-contrib.git
Branch: jxu49/master
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=jxu49/masterThanks,
Jiajun Xu<[email protected]>
---Jiajun Xu (4):
qemuimagetest: Add basic function check for zypper command
qemuimagetest: Add basic function check for rpm command
qemuimagetest: Add basic function check for gcc/g++/make command in
target
qemuimagetest: Add basic function check for connmanscripts/qemuimage-tests/sanity/compiler | 52 ++++++++ scripts/qemuimage-tests/sanity/connman | 52 ++++++++ scripts/qemuimage-tests/sanity/rpm_query | 52 ++++++++ scripts/qemuimage-tests/sanity/zypper_help | 52 ++++++++ scripts/qemuimage-tests/sanity/zypper_search | 52 ++++++++ .../scenario/qemuarm/poky-image-lsb | 4 + .../scenario/qemuarm/poky-image-sato | 4 + .../scenario/qemuarm/poky-image-sdk | 5 + .../scenario/qemumips/poky-image-lsb | 4 + .../scenario/qemumips/poky-image-sato | 4 + .../scenario/qemumips/poky-image-sdk | 5 + .../scenario/qemuppc/poky-image-lsb | 4 + .../scenario/qemuppc/poky-image-sato | 4 + .../scenario/qemuppc/poky-image-sdk | 5 + .../scenario/qemux86-64/poky-image-lsb | 4 + .../scenario/qemux86-64/poky-image-sato | 4 + .../scenario/qemux86-64/poky-image-sdk | 5 + .../scenario/qemux86/poky-image-lsb | 4 + .../scenario/qemux86/poky-image-sato | 4 + .../scenario/qemux86/poky-image-sdk | 5 + scripts/qemuimage-tests/tools/compiler_test.sh | 137 ++++++++++++++++++++ scripts/qemuimage-tests/tools/connman_test.sh | 55 ++++++++ scripts/qemuimage-tests/tools/rpm_test.sh | 45 +++++++ scripts/qemuimage-tests/tools/zypper_test.sh | 45 +++++++ 24 files changed, 607 insertions(+), 0 deletions(-)create mode 100755
scripts/qemuimage-tests/sanity/compilercreate mode 100755scripts/qemuimage-tests/sanity/connmancreate mode 100755scripts/qemuimage-tests/sanity/rpm_querycreate mode 100755scripts/qemuimage-tests/sanity/zypper_helpcreate mode 100755scripts/qemuimage-tests/sanity/zypper_searchcreate mode 100644scripts/qemuimage-tests/tools/compiler_test.shcreate mode 100644scripts/qemuimage-tests/tools/connman_test.shcreate mode 100644scripts/qemuimage-tests/tools/rpm_test.shcreate mode 100644scripts/qemuimage-tests/tools/zypper_test.sh
Quoted 5 lines
_______________________________________________
poky mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/poky
Pulled into Master
Thanks
Sau!