1
0
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:
2022-12-20 14:42:19 +01:00
parent c5352c4d3e
commit ba32ff57cb
2 changed files with 18 additions and 1 deletions

View 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