From 5f0e67d899b061e5908af90a72f493f26ab1dded Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ale=C5=A1=20Mat=C4=9Bj?= Date: Tue, 12 Nov 2024 15:10:28 +0100 Subject: [PATCH] Update `module info` tests exit code and output dnf5 exits with 0, unlike dnf4. There is a general issue about exit codes of query commands: https://github.com/rpm-software-management/dnf5/issues/1075 --- dnf-behave-tests/dnf/module/platform.feature | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/dnf-behave-tests/dnf/module/platform.feature b/dnf-behave-tests/dnf/module/platform.feature index 7f7633e0b..e312c0787 100644 --- a/dnf-behave-tests/dnf/module/platform.feature +++ b/dnf-behave-tests/dnf/module/platform.feature @@ -39,15 +39,12 @@ Scenario: I can't see pseudo-module in module listing Scenario: I can't list info for the pseudo-module When I execute dnf with args "module info pseudoplatform" - Then the exit code is 1 - And stdout is - """ - Unable to resolve argument pseudoplatform - """ + Then the exit code is 0 + And stdout is empty And stderr is """ - Error: No matching Modules to list + No matches found for "pseudoplatform". """