diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-09-19 13:18:06 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-20 12:14:32 +0100 |
commit | d469c92394a1a95ae7a45b8b80dc4c2918e0e9a6 (patch) | |
tree | bf46541bf207a6e4f5470b59feac7de9fcb67a1a /scripts/qemuimage-tests/tools/rpm_test.sh | |
parent | a68b4c6ee780c0efe6c877595d0c10b3192ad80b (diff) | |
download | openembedded-core-d469c92394a1a95ae7a45b8b80dc4c2918e0e9a6.tar.gz openembedded-core-d469c92394a1a95ae7a45b8b80dc4c2918e0e9a6.tar.bz2 openembedded-core-d469c92394a1a95ae7a45b8b80dc4c2918e0e9a6.zip |
classes/imagetest-qemu: remove old image testing class
This has now been superseded by testimage.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'scripts/qemuimage-tests/tools/rpm_test.sh')
-rw-r--r-- | scripts/qemuimage-tests/tools/rpm_test.sh | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/scripts/qemuimage-tests/tools/rpm_test.sh b/scripts/qemuimage-tests/tools/rpm_test.sh deleted file mode 100644 index 6e6f9112ca..0000000000 --- a/scripts/qemuimage-tests/tools/rpm_test.sh +++ /dev/null @@ -1,45 +0,0 @@ -#!/bin/bash -# rpm test script running in target -# -# Author: Jiajun Xu <jiajun.xu@intel.com> -# -# This file is licensed under the GNU General Public License, -# Version 2. -# - -Target_Info() -{ - echo -e "\tTARGET: $*" -} - -Target_Err() -{ - echo -e "\tTARGET: rpm command has issue when running, Pls. check the error log" - echo -e "\tTARGET: ##### Error Log #####" - $1 - echo -e "\tTARGET: ##### End #####" -} - -which rpm -if [ $? -ne 0 ]; then - Target_Info "No rpm command found" - exit 1 -fi - -if [ rpm > /dev/null 2>&1 ]; then - Target_Info "rpm command run without problem" -else - Target_Err rpm - exit 1 -fi - -# run rpm with specific command parsed to rpm_test.sh -rpm $* > /dev/null 2>&1 - -if [ $? -eq 0 ]; then - Target_Info "rpm $* work without problem" - exit 0 -else - Target_Err rpm $* - exit 1 -fi |