test_dnf4_mark(): disable all plugins when inspecting markings
When subscription-manager DNF plugins are enabled (e.g. on RHEL), they produce messages to the stdout on any DNF command execution. E.g. "Updating Subscription Management repositories.". Disable all plugins when inspecting package markings so prevent them from modifying the output. Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
parent
3a74916655
commit
ffd261bfff
1 changed files with 2 additions and 0 deletions
|
|
@ -541,6 +541,8 @@ class TestStages(test.TestBase):
|
|||
[
|
||||
"dnf",
|
||||
"--installroot", tree,
|
||||
# disable all plugins to prevent them from modifying the output
|
||||
"--disableplugin", "*",
|
||||
"repoquery", "--installed",
|
||||
"--qf", "%{name},%{reason}\n"
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue