Skip to content

Commit f051121

Browse files
committed
manifest: split new and resolve subcommands
1 parent 1023f05 commit f051121

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

dnf-behave-tests/dnf/plugins-core/manifest.feature

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Scenario: Generate new manifest using specs and system repo
9696
Scenario: Generate new manifest using prototype input file
9797
Given I copy file "{context.dnf.fixturesdir}/data/manifest/simple.in.yaml" to "/{context.dnf.tempdir}/rpms.in.yaml"
9898
And I execute "sed -i 's|$FIXTURES_DIR|{context.dnf.fixturesdir}|' rpms.in.yaml"
99-
When I execute dnf with args "manifest new"
99+
When I execute dnf with args "manifest resolve"
100100
Then the exit code is 0
101101
And file "/{context.dnf.tempdir}/packages.manifest.yaml" matches line by line
102102
"""
@@ -175,7 +175,7 @@ Scenario: Generate new manifest using prototype input file
175175
Scenario: Generate new manifest using prototype input file and system repo
176176
Given I copy file "{context.dnf.fixturesdir}/data/manifest/simple.in.yaml" to "/{context.dnf.tempdir}/rpms.in.yaml"
177177
And I execute "sed -i 's|$FIXTURES_DIR|{context.dnf.fixturesdir}|' rpms.in.yaml"
178-
When I execute dnf with args "manifest new --use-system"
178+
When I execute dnf with args "manifest resolve --use-system"
179179
Then the exit code is 0
180180
And file "/{context.dnf.tempdir}/packages.manifest.yaml" matches line by line
181181
"""
@@ -219,7 +219,7 @@ Scenario: Generate new manifest using prototype input file and system repo
219219
Scenario: Generate new manifest with packages for reinstallation using prototype input file and system repo
220220
Given I copy file "{context.dnf.fixturesdir}/data/manifest/reinstall.in.yaml" to "/{context.dnf.tempdir}/rpms.in.yaml"
221221
And I execute "sed -i 's|$FIXTURES_DIR|{context.dnf.fixturesdir}|' rpms.in.yaml"
222-
When I execute dnf with args "manifest new --use-system"
222+
When I execute dnf with args "manifest resolve --use-system"
223223
Then the exit code is 0
224224
And file "/{context.dnf.tempdir}/packages.manifest.yaml" matches line by line
225225
"""
@@ -254,7 +254,7 @@ Scenario: Generate new manifest using prototype input file, system repo and allo
254254
And I successfully execute dnf with args "install dnf-ci-kernel-1.0"
255255
And I copy file "{context.dnf.fixturesdir}/data/manifest/allowerasing.in.yaml" to "/{context.dnf.tempdir}/rpms.in.yaml"
256256
And I execute "sed -i 's|$FIXTURES_DIR|{context.dnf.fixturesdir}|' rpms.in.yaml"
257-
When I execute dnf with args "manifest new --use-system --exclude dnf-ci-obsolete"
257+
When I execute dnf with args "manifest resolve --use-system --exclude dnf-ci-obsolete"
258258
Then the exit code is 0
259259
And file "/{context.dnf.tempdir}/packages.manifest.yaml" matches line by line
260260
"""
@@ -280,7 +280,7 @@ Scenario: Generate new manifest using prototype input file with a modular packag
280280
Given I use repository "dnf-ci-fedora-modular"
281281
And I copy file "{context.dnf.fixturesdir}/data/manifest/moduleenable.in.yaml" to "/{context.dnf.tempdir}/rpms.in.yaml"
282282
And I execute "sed -i 's|$FIXTURES_DIR|{context.dnf.fixturesdir}|' rpms.in.yaml"
283-
When I execute dnf with args "manifest new --use-system"
283+
When I execute dnf with args "manifest resolve --use-system"
284284
Then the exit code is 0
285285
And file "/{context.dnf.tempdir}/packages.manifest.yaml" contains lines
286286
"""

0 commit comments

Comments
 (0)