Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tests to match update usage help text #1631

Open
wants to merge 1 commit into
base: dnf-4-stack
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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\]"
Loading