Skip to content

Commit

Permalink
Update tests to match update usage help text
Browse files Browse the repository at this point in the history
  • Loading branch information
kontura committed Feb 11, 2025
1 parent b6cc263 commit 6962a57
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dnf-behave-tests/dnf/help.feature
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ Examples:
| dnf-3 | --help | dnf \[options] COMMAND |
| yum | help | yum \[options] COMMAND |
| yum | --help | yum \[options] COMMAND |
| yum-builddep | --help | dnf builddep \[-c \[config file]] \[-q] \[-v] \[--version] |
| yum shell | --help | yum shell \[-c \[config file]] \[-q] \[-v] \[--version] |
| yum-builddep | --help | dnf builddep \[-c CONFIG_FILE] \[-q] \[-v] \[--version] |
| yum shell | --help | yum shell \[-c CONFIG_FILE] \[-q] \[-v] \[--version] |

@bz1746474
@use.with_os=rhel__ge__8
Expand Down
4 changes: 2 additions & 2 deletions dnf-behave-tests/dnf/module/help.feature
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ Feature: Module usage help

Scenario: I can print help using dnf module --help
When I execute dnf with args "module --help"
Then stdout contains "usage: .+ module \[-c \[config file\]\]"
Then stdout contains "usage: .+ module \[-c CONFIG_FILE\]"

Scenario: I can print help using dnf module -h
When I execute dnf with args "module -h"
Then stdout contains "usage: .+ module \[-c \[config file\]\]"
Then stdout contains "usage: .+ module \[-c CONFIG_FILE\]"

0 comments on commit 6962a57

Please sign in to comment.