From: Michael Schroeder Date: Tue, 6 Oct 2020 11:43:39 +0000 (+0200) Subject: Add testcase for better choicerule creation X-Git-Tag: 0.7.16~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a273ff91ca4776516c8a9aef865990f848032d34;p=thirdparty%2Flibsolv.git Add testcase for better choicerule creation --- diff --git a/test/testcases/choicerules/choice2.t b/test/testcases/choicerules/choice2.t new file mode 100644 index 00000000..7c78fc6f --- /dev/null +++ b/test/testcases/choicerules/choice2.t @@ -0,0 +1,23 @@ +repo system 0 testtags +#>=Pkg: A 1 1 noarch +#>=Req: P = 1 +#>=Pkg: B 1 1 noarch +#>=Prv: P = 1 +repo available 0 testtags +#>=Pkg: A 2 1 noarch +#>=Req: P = 2 +#>=Pkg: A 2 2 noarch +#>=Req: P = 2 +#>=Pkg: B 2 1 noarch +#>=Prv: P = 2 +#>=Pkg: C 1 1 noarch +#>=Prv: P = 1 +#>=Pkg: C 2 1 noarch +#>=Prv: P = 2 +system i686 rpm system + +job update name B +result transaction,problems +result transaction,problems +#>upgrade A-1-1.noarch@system A-2-2.noarch@available +#>upgrade B-1-1.noarch@system B-2-1.noarch@available