You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recommend --use-host-config if --installroot is used and not all repositories can be enabled
Adapt tests to a new error message wording when an installroot is
used and a repository cannot be enabled or disabled.
Related: rpm-software-management/dnf5#1760
Copy file name to clipboardExpand all lines: dnf-behave-tests/dnf/repo-cmdline-config.feature
+8-8
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ Scenario: Exit with an error when trying to --enable-repo='*' when there are no
7
7
Then the exit code is 2
8
8
And stderr is
9
9
"""
10
-
No matching repositories for "*". Add "--help" for more information about the arguments.
10
+
No matching repositories for *. To use repositories from a host system, pass --use-host-config option. Add "--help" for more information about the arguments.
11
11
"""
12
12
13
13
@@ -17,7 +17,7 @@ Scenario: Exit with an error when trying to enable missing repo
17
17
Then the exit code is 2
18
18
And stderr is
19
19
"""
20
-
No matching repositories for "missing-repo". Add "--help" for more information about the arguments.
20
+
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.
21
21
"""
22
22
23
23
@@ -27,7 +27,7 @@ Scenario: Exit with an error when trying to enable multiple missing repos
27
27
Then the exit code is 2
28
28
And stderr is
29
29
"""
30
-
No matching repositories for "missing-repo1, missing-repo2". Add "--help" for more information about the arguments.
30
+
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.
31
31
"""
32
32
33
33
@@ -47,7 +47,7 @@ Scenario: Exit with an error when trying to --disable-repo='*' when there are no
47
47
Then the exit code is 2
48
48
And stderr is
49
49
"""
50
-
No matching repositories for "*". Add "--help" for more information about the arguments.
50
+
No matching repositories for *. To use repositories from a host system, pass --use-host-config option. Add "--help" for more information about the arguments.
51
51
"""
52
52
53
53
@@ -59,7 +59,7 @@ Scenario: Exit with an error when using --repo but there are no repositories
59
59
Then the exit code is 2
60
60
And stderr is
61
61
"""
62
-
No matching repositories for "*, missing-repo". Add "--help" for more information about the arguments.
62
+
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.
63
63
"""
64
64
65
65
@@ -69,7 +69,7 @@ Scenario: Exit with an error when --repo specifies invalid repository
69
69
Then the exit code is 2
70
70
And stderr is
71
71
"""
72
-
No matching repositories for "missing-repo". Add "--help" for more information about the arguments.
72
+
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.
73
73
"""
74
74
75
75
@@ -78,7 +78,7 @@ Scenario: Exit with an error when --setop specifies invalid repository
78
78
Then the exit code is 2
79
79
And stderr is
80
80
"""
81
-
No matching repositories for "missing-repo". Add "--help" for more information about the arguments.
81
+
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.
82
82
"""
83
83
84
84
@@ -87,5 +87,5 @@ Scenario: Exit with an error when trying --setop for all repos but there are non
87
87
Then the exit code is 2
88
88
And stderr is
89
89
"""
90
-
No matching repositories for "*". Add "--help" for more information about the arguments.
90
+
No matching repositories for *. To use repositories from a host system, pass --use-host-config option. Add "--help" for more information about the arguments.
0 commit comments