2022-01-24 09:57:40 +01:00
|
|
|
Feature: `osc list` command
|
|
|
|
|
|
|
|
|
|
|
|
Scenario: Run `osc list` with no arguments to display all projects
|
|
|
|
When I execute osc with args "list"
|
|
|
|
Then stdout is
|
|
|
|
"""
|
|
|
|
home:Admin
|
|
|
|
openSUSE.org
|
2022-12-08 09:52:50 +01:00
|
|
|
test:devel
|
|
|
|
test:factory
|
2024-04-12 16:49:49 +02:00
|
|
|
test:factory:update
|
|
|
|
test:leap:15.6
|
|
|
|
test:leap:15.6:update
|
2022-12-08 09:52:50 +01:00
|
|
|
test:release
|
2022-01-24 09:57:40 +01:00
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
|
|
Scenario: Run `osc list` on a project to display project packages
|
2022-12-08 09:52:50 +01:00
|
|
|
When I execute osc with args "list test:factory"
|
2022-01-24 09:57:40 +01:00
|
|
|
Then stdout is
|
|
|
|
"""
|
|
|
|
multibuild-pkg
|
|
|
|
multibuild-pkg:flavor1
|
|
|
|
multibuild-pkg:flavor2
|
|
|
|
test-pkgA
|
|
|
|
test-pkgB
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
|
|
Scenario: Run `osc list` on a project package to display package files
|
2022-12-08 09:52:50 +01:00
|
|
|
When I execute osc with args "list test:factory test-pkgA"
|
2022-01-24 09:57:40 +01:00
|
|
|
Then stdout is
|
|
|
|
"""
|
|
|
|
test-pkgA.changes
|
|
|
|
test-pkgA.spec
|
|
|
|
"""
|