poky/meta/lib/oeqa
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
..
buildperf buildperf: measure the size of core-image-sato rootfs 2018-03-16 03:42:09 -07:00
controllers masterimage.py: rename parameter "params" in start() to "extra_bootparams" 2017-11-08 22:24:03 +00:00
core oeqa/core/decorator: add skipIfInDataVar 2018-08-23 18:02:23 +01:00
files oeqa: rationalise Perl tests 2018-07-26 13:16:40 +01:00
runtime oeqa/runtime/dnf: Make sure test_dnf_install does not skipped 2018-09-04 11:03:55 +01:00
sdk oeqa/sdk: fixes related to hasPackage semantics 2018-09-04 11:03:55 +01:00
sdkext oeqa/esdk/devtool: Drop OETestDepends usage 2018-08-14 11:36:31 +01:00
selftest lib/oe/package_manager: turn postinst failure warnings into bitbake failures 2018-09-04 11:03:55 +01:00
utils package_manager/sdk: Use filtered copies of the deploy ipk/deb directories 2018-08-15 09:44:33 +01:00
oetest.py testimage.bbclass: fix runtime test for rpm, port smart tests to dnf 2017-03-14 14:42:17 +00:00
runexported.py meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
targetcontrol.py targetcontrol.py: use oe.types.boolean for QEMU_USE_KVM 2017-12-18 18:03:56 +00:00