mirror of
https://github.com/openSUSE/osc.git
synced 2025-09-08 05:58:43 +02:00
linkpac: Fix linking a locked package by not copying the lock to the target package
This commit is contained in:
13
behave/features/linkpac.feature
Normal file
13
behave/features/linkpac.feature
Normal file
@@ -0,0 +1,13 @@
|
||||
Feature: `osc linkpac` command
|
||||
|
||||
|
||||
# common steps for all scenarios
|
||||
Background:
|
||||
Given I set working directory to "{context.osc.temp}"
|
||||
|
||||
|
||||
@destructive
|
||||
Scenario: Run `osc linkpac on a locked package`
|
||||
Given I execute osc with args "lock test:factory/test-pkgA"
|
||||
When I execute osc with args "linkpac test:factory/test-pkgA home:Admin/test-pkgA"
|
||||
Then the exit code is 0
|
Reference in New Issue
Block a user