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 |