From 0ee428707d4e39fe683c1a60d88dd5be0b8c1c7f Mon Sep 17 00:00:00 2001 From: Jaroslav Rohel Date: Mon, 16 Oct 2023 16:28:16 +0200 Subject: [PATCH] Synchronize command alias test with upstream --- dnf-behave-tests/dnf/command-aliases.feature | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/dnf-behave-tests/dnf/command-aliases.feature b/dnf-behave-tests/dnf/command-aliases.feature index cf275e09f..500a0dfc4 100644 --- a/dnf-behave-tests/dnf/command-aliases.feature +++ b/dnf-behave-tests/dnf/command-aliases.feature @@ -11,9 +11,11 @@ Scenario: "nonexistent" is not an alias for any dnf command Scenario Outline: "" is an alias for "" When I execute dnf with args " -h" Then the exit code is 0 - And stdout contains "Usage:\n.*" - And stdout does not contain "No such command" - And stderr does not contain "No such command" + # The exact output is now under discussion + # And stdout contains "Usage:\n.*" + And stdout contains "Usage:\n" + And stdout does not contain "Unknown argument" + And stderr does not contain "Unknown argument" Examples: | command | alias | @@ -29,7 +31,6 @@ Examples: | environment | environment | | group | group | | group | grp | - | help | help | | history | history | | info | info | | install | in |