poky/meta/lib/oeqa/runtime/cases
Yeoh Ee Peng 5ebf30be9d oeqa/runtime/dnf: Make sure test_dnf_install does not skipped
During debugging dnf issue, we found that the test_dnf_install
PASSED the testing even though the environment does not allow
dnf install to run successfully. Further debugging had identified
that current test_dnf_install will execute dnf install even when
the package to be installed already exist, thus dnf install
will just skipped and this test will PASSED even though it was
not.

To solve this, added additional logic to check if the package
to be installed already exist, if yes then remove the package
before actually run dnf install. This will make sure dnf install
was tested as expected.

(From OE-Core rev: 4f662b253f7313c4e02bfafb527cdac076b6309a)

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-09-04 11:03:55 +01:00
..
_qemutiny.py oeqa/runtime/cases: Migrate underscore cases 2017-04-01 08:14:57 +01:00
apt.py oeqa/runtime/apt.py: add runtime test for apt 2018-03-04 11:35:42 +00:00
buildcpio.py oeqa/runtime/buildcpio: Use our own mirror for source 2018-01-06 10:13:37 +00:00
buildgalculator.py oeqa/runtime: Improve failure log output 2017-02-05 09:22:17 +00:00
buildlzip.py oeqa/runtime: Replace buildiptables for buildlzip on runtime tests 2017-07-08 13:34:46 +01:00
connman.py runtime/cases/connman.py: Stop using oeRuntimeTest 2017-01-31 14:43:01 +00:00
date.py oeqa/runtime/cases: Migrate runtime tests. 2017-01-23 12:05:20 +00:00
df.py oeqa/runtime/cases: Migrate runtime tests. 2017-01-23 12:05:20 +00:00
dnf.py oeqa/runtime/dnf: Make sure test_dnf_install does not skipped 2018-09-04 11:03:55 +01:00
gcc.py runtime/cases: Fix case numbers, missing cases and unused classes 2017-01-31 23:27:47 +00:00
gi.py oeqa/runtime: add gobject-introspection test 2018-01-29 10:31:58 +00:00
kernelmodule.py make-mod-scripts/kernel-devsrc: Fix objtool issues 2018-03-30 00:31:18 +01:00
ksample.py runtime selftest: limit kernel hw bp arches 2018-08-16 22:40:28 +01:00
ldd.py oeqa/runtime/ldd: Clean up test 2018-08-23 07:50:00 +01:00
logrotate.py logrotate: update to 3.14.0 2018-05-04 13:28:02 +01:00
multilib.py oeqa/runtime/cases/multilib.py: fix test_file_connman skipping logic 2018-06-04 15:15:00 +01:00
oe_syslog.py oe_syslog.py: fix for syslog-ng 2018-08-08 10:51:59 +01:00
opkg.py oeqa/runtime/opkg.py: add runtime test for opkg 2018-03-04 11:35:42 +00:00
pam.py oeqa/runtime/cases: Migrate runtime tests. 2017-01-23 12:05:20 +00:00
parselogs.py parselogs.py: output correct log location 2018-08-14 11:36:31 +01:00
perl.py oeqa: rationalise Perl tests 2018-07-26 13:16:40 +01:00
ping.py oeqa/runtime/cases: Migrate runtime tests. 2017-01-23 12:05:20 +00:00
ptest.py runtime/cases/ptest.py: fail when ptests fail on target 2018-01-05 11:55:35 +00:00
python.py oeqa/runtime/python: clean up Python test 2018-07-18 10:18:42 +01:00
rpm.py oeqa/runtime/cases/rpm.py: change to use base-passwd-doc 2018-06-18 11:07:57 +01:00
scp.py oeqa/runtime/cases: Migrate runtime tests. 2017-01-23 12:05:20 +00:00
skeletoninit.py oeqa/runtime/cases: Migrate runtime tests. 2017-01-23 12:05:20 +00:00
ssh.py oeqa/runtime/cases: Migrate runtime tests. 2017-01-23 12:05:20 +00:00
stap.py kernel-devsrc: restructure for out of tree (and on target) module builds 2018-08-19 16:35:22 +01:00
systemd.py systemd.py: increase default bus timeout 2018-07-31 22:47:36 +01:00
x32lib.py oeqa/runtime/cases: Migrate runtime tests. 2017-01-23 12:05:20 +00:00
xorg.py oeqa/runtime/cases: Migrate runtime tests. 2017-01-23 12:05:20 +00:00