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

Recommend --use-host-config if --installroot is used and not all repositories can be enabled #1563

Merged
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
16 changes: 8 additions & 8 deletions dnf-behave-tests/dnf/repo-cmdline-config.feature
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Scenario: Exit with an error when trying to --enable-repo='*' when there are no
Then the exit code is 2
And stderr is
"""
No matching repositories for "*". Add "--help" for more information about the arguments.
No matching repositories for *. To use repositories from a host system, pass --use-host-config option. Add "--help" for more information about the arguments.
"""


Expand All @@ -17,7 +17,7 @@ Scenario: Exit with an error when trying to enable missing repo
Then the exit code is 2
And stderr is
"""
No matching repositories for "missing-repo". Add "--help" for more information about the arguments.
No matching repositories for missing-repo. To use repositories from a host system, pass --use-host-config option. Add "--help" for more information about the arguments.
"""


Expand All @@ -27,7 +27,7 @@ Scenario: Exit with an error when trying to enable multiple missing repos
Then the exit code is 2
And stderr is
"""
No matching repositories for "missing-repo1, missing-repo2". Add "--help" for more information about the arguments.
No matching repositories for missing-repo1, missing-repo2. To use repositories from a host system, pass --use-host-config option. Add "--help" for more information about the arguments.
"""


Expand All @@ -47,7 +47,7 @@ Scenario: Exit with an error when trying to --disable-repo='*' when there are no
Then the exit code is 2
And stderr is
"""
No matching repositories for "*". Add "--help" for more information about the arguments.
No matching repositories for *. To use repositories from a host system, pass --use-host-config option. Add "--help" for more information about the arguments.
"""


Expand All @@ -59,7 +59,7 @@ Scenario: Exit with an error when using --repo but there are no repositories
Then the exit code is 2
And stderr is
"""
No matching repositories for "*, missing-repo". Add "--help" for more information about the arguments.
No matching repositories for *, missing-repo. To use repositories from a host system, pass --use-host-config option. Add "--help" for more information about the arguments.
"""


Expand All @@ -69,7 +69,7 @@ Scenario: Exit with an error when --repo specifies invalid repository
Then the exit code is 2
And stderr is
"""
No matching repositories for "missing-repo". Add "--help" for more information about the arguments.
No matching repositories for missing-repo. To use repositories from a host system, pass --use-host-config option. Add "--help" for more information about the arguments.
"""


Expand All @@ -78,7 +78,7 @@ Scenario: Exit with an error when --setop specifies invalid repository
Then the exit code is 2
And stderr is
"""
No matching repositories for "missing-repo". Add "--help" for more information about the arguments.
No matching repositories for missing-repo. To use repositories from a host system, pass --use-host-config option. Add "--help" for more information about the arguments.
"""


Expand All @@ -87,5 +87,5 @@ Scenario: Exit with an error when trying --setop for all repos but there are non
Then the exit code is 2
And stderr is
"""
No matching repositories for "*". Add "--help" for more information about the arguments.
No matching repositories for *. To use repositories from a host system, pass --use-host-config option. Add "--help" for more information about the arguments.
"""
Loading