1
0
mirror of https://github.com/openSUSE/libsolv.git synced 2026-02-05 12:45:46 +01:00

Add testcases for the last change

This commit is contained in:
Michael Schroeder
2015-02-24 19:00:00 +01:00
parent aa583e8010
commit 78c8a55bc0
6 changed files with 87 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
repo system 0 empty
repo test 0 testtags <inline>
#>=Pkg: X 1 1 noarch
#>=Req: Y
#>=Pkg: B 1 1 noarch
#>=Prv: Y
#>=Pkg: A 1 1 noarch
#>=Prv: Y
system i686 rpm system
job install name X
result transaction,problems <inline>
#>install A-1-1.noarch@test
#>install X-1-1.noarch@test

View File

@@ -0,0 +1,14 @@
repo system 0 empty
repo test 0 testtags <inline>
#>=Pkg: X 1 1 noarch
#>=Req: Y
#>=Pkg: B 1 1 noarch
#>=Prv: Y
#>=Enh: X
#>=Pkg: A 1 1 noarch
#>=Prv: Y
system i686 rpm system
job install name X
result transaction,problems <inline>
#>install B-1-1.noarch@test
#>install X-1-1.noarch@test

View File

@@ -0,0 +1,16 @@
repo system 0 empty
repo test 0 testtags <inline>
#>=Pkg: X 1 1 noarch
#>=Req: Y
#>=Pkg: B 1 1 noarch
#>=Prv: Y
#>=Pkg: C 1 1 noarch
#>=Prv: Y
#>=Pkg: A 1 1 noarch
#>=Prv: Y
#>=Pkg: A 2 1 noarch
system i686 rpm system
job install name X
result transaction,problems <inline>
#>install B-1-1.noarch@test
#>install X-1-1.noarch@test

View File

@@ -0,0 +1,14 @@
repo system 0 empty
repo test 0 testtags <inline>
#>=Pkg: X 1 1 noarch
#>=Req: Y
#>=Sug: B
#>=Pkg: B 1 1 noarch
#>=Prv: Y
#>=Pkg: A 1 1 noarch
#>=Prv: Y
system i686 rpm system
job install name X
result transaction,problems <inline>
#>install B-1-1.noarch@test
#>install X-1-1.noarch@test

View File

@@ -0,0 +1,15 @@
repo system 0 empty
repo test 0 testtags <inline>
#>=Pkg: X 1 1 noarch
#>=Req: Y
#>=Pkg: B 1 1 noarch
#>=Prv: Y = 2
#>=Pkg: C 1 1 noarch
#>=Prv: Y = 1.1
#>=Pkg: A 1 1 noarch
#>=Prv: Y = 1
system i686 rpm system
job install name X
result transaction,problems <inline>
#>install B-1-1.noarch@test
#>install X-1-1.noarch@test

View File

@@ -0,0 +1,15 @@
repo system 0 empty
repo test 0 testtags <inline>
#>=Pkg: X 1 1 noarch
#>=Req: Y
#>=Pkg: B 1 1 noarch
#>=Prv: Y < 2
#>=Pkg: C 1 1 noarch
#>=Prv: Y <= 2
#>=Pkg: A 1 1 noarch
#>=Prv: Y = 1
system i686 rpm system
job install name X
result transaction,problems <inline>
#>install C-1-1.noarch@test
#>install X-1-1.noarch@test