From fcc02277c326225a71f535f9395701171aa7ec85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ale=C5=A1=20Mat=C4=9Bj?= Date: Mon, 13 May 2024 08:20:11 +0200 Subject: [PATCH 1/3] DNF5 doesn't have a shell command --- dnf-behave-tests/dnf/shell-help.feature | 1 - 1 file changed, 1 deletion(-) diff --git a/dnf-behave-tests/dnf/shell-help.feature b/dnf-behave-tests/dnf/shell-help.feature index d7b57d72d..cc6cbfe14 100644 --- a/dnf-behave-tests/dnf/shell-help.feature +++ b/dnf-behave-tests/dnf/shell-help.feature @@ -1,4 +1,3 @@ -@dnf5 Feature: Shell help From df582b0b89095aa7b3163d522b62d76c983c66ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ale=C5=A1=20Mat=C4=9Bj?= Date: Mon, 13 May 2024 08:20:40 +0200 Subject: [PATCH 2/3] Remove `module info` - `too few arguments` tests Withtou arguments `dnf5 module info` show all modules, this is consistent with other info commands. However it is a change in comarison to dnf4. --- .../dnf/module/info-without-install.feature | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/dnf-behave-tests/dnf/module/info-without-install.feature b/dnf-behave-tests/dnf/module/info-without-install.feature index 3c4dde853..379177023 100644 --- a/dnf-behave-tests/dnf/module/info-without-install.feature +++ b/dnf-behave-tests/dnf/module/info-without-install.feature @@ -346,20 +346,6 @@ Scenario: Get info for an enabled stream, module name and stream specified """ - Scenario: Run 'dnf module info' without further argument (dnf) - Given I set dnf command to "dnf" - When I execute dnf with args "module info" - Then the exit code is 1 - And stderr contains "Error: dnf module info: too few arguments" - - - Scenario: Run 'dnf module info' without further argument (yum) - Given I set dnf command to "yum" - When I execute dnf with args "module info" - Then the exit code is 1 - And stderr contains "Error: yum module info: too few arguments" - - @bz1700250 @bz1636337 Scenario: I can get the module context of the active stream From 2206e750da2fd1b38f4cc5dc0a00119b02272ea3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ale=C5=A1=20Mat=C4=9Bj?= Date: Mon, 13 May 2024 08:23:16 +0200 Subject: [PATCH 3/3] Add explicit require for dnf5-plugin-automatic for `automatic` tests It is a separate package (not part of dnf5-plugins). --- dnf-behave-tests/requirements.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/dnf-behave-tests/requirements.spec b/dnf-behave-tests/requirements.spec index 527168db5..1f1b58ae8 100644 --- a/dnf-behave-tests/requirements.spec +++ b/dnf-behave-tests/requirements.spec @@ -51,6 +51,7 @@ BuildRequires: polkit BuildRequires: dnf5 BuildRequires: dnf5-plugins +BuildRequires: dnf5-plugin-automatic BuildRequires: dnf5daemon-server BuildRequires: dnf5daemon-client BuildRequires: libdnf5-plugin-actions