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:
13
test/testcases/choose/default.t
Normal file
13
test/testcases/choose/default.t
Normal 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
|
||||
14
test/testcases/choose/enhanced.t
Normal file
14
test/testcases/choose/enhanced.t
Normal 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
|
||||
16
test/testcases/choose/oldversion.t
Normal file
16
test/testcases/choose/oldversion.t
Normal 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
|
||||
14
test/testcases/choose/suggested.t
Normal file
14
test/testcases/choose/suggested.t
Normal 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
|
||||
15
test/testcases/choose/versioned.t
Normal file
15
test/testcases/choose/versioned.t
Normal 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
|
||||
15
test/testcases/choose/versioned2.t
Normal file
15
test/testcases/choose/versioned2.t
Normal 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
|
||||
Reference in New Issue
Block a user