2022-11-07 10:36:03 +01:00
|
|
|
Feature: `osc setdevelproject` command
|
|
|
|
|
|
|
|
|
|
|
|
# common steps for all scenarios
|
|
|
|
Background:
|
|
|
|
Given I set working directory to "{context.osc.temp}"
|
|
|
|
And I execute osc with args "checkout test:factory"
|
|
|
|
And I set working directory to "{context.osc.temp}/test:factory"
|
|
|
|
|
|
|
|
|
|
|
|
Scenario: Run `osc setdevelproject <devel_project>`
|
|
|
|
When I execute osc with args "setdevelproject devel"
|
|
|
|
Then the exit code is 1
|
|
|
|
And stderr is
|
|
|
|
"""
|
2023-08-28 09:54:38 +02:00
|
|
|
Directory '{context.osc.temp}/test:factory' is not an OBS SCM working copy of a package
|
2022-11-07 10:36:03 +01:00
|
|
|
"""
|