mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-11 07:06:16 +01:00
24 lines
611 B
Gherkin
24 lines
611 B
Gherkin
Feature: `osc showlinked` command
|
|
|
|
|
|
# common steps for all scenarios
|
|
Background:
|
|
Given I set working directory to "{context.osc.temp}"
|
|
And I execute osc with args "linkpac test:factory/test-pkgA home:Admin --force"
|
|
|
|
|
|
Scenario: Run `osc showlinked <project> <package>`
|
|
When I execute osc with args "showlinked test:factory test-pkgA"
|
|
Then stdout is
|
|
"""
|
|
home:Admin/test-pkgA
|
|
"""
|
|
|
|
|
|
Scenario: Run `osc showlinked <project>/<package>`
|
|
When I execute osc with args "showlinked test:factory/test-pkgA"
|
|
Then stdout is
|
|
"""
|
|
home:Admin/test-pkgA
|
|
"""
|