1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-09-08 22:18:43 +02:00

Fix 'buildhistory' command by setting the type of the '--limit' option to int

This commit is contained in:
2023-04-17 15:31:46 +02:00
parent e299ab98bd
commit 9926791bf0
3 changed files with 7 additions and 2 deletions

View File

@@ -11,6 +11,11 @@ Scenario: Run `osc buildist <project>/<package> <repository>/<arch>`
Then the exit code is 0
Scenario: Run `osc buildist <project>/<package> <repository>/<arch> --limit`
When I execute osc with args "buildhist test:factory/test-pkgA standard/x86_64 --limit=1"
Then the exit code is 0
Scenario: Run `osc buildist <repository>/<arch>` from a package checkout
Given I execute osc with args "co test:factory/test-pkgA"
And I set working directory to "{context.osc.temp}/test:factory/test-pkgA"