From: Michael Schroeder Date: Fri, 11 Nov 2022 12:22:31 +0000 (+0100) Subject: Add a testcase for orphaned package handling in choice rules X-Git-Tag: 0.7.23~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87bf7ba39863f17c982fac013e5dc2ec9f4c78b2;p=thirdparty%2Flibsolv.git Add a testcase for orphaned package handling in choice rules --- diff --git a/test/testcases/choicerules/choice7.t b/test/testcases/choicerules/choice7.t new file mode 100644 index 00000000..db821b61 --- /dev/null +++ b/test/testcases/choicerules/choice7.t @@ -0,0 +1,16 @@ +# make sure that orphaned packages do not get +# deinstalled by choice rules bnc#1190465 +repo system 0 testtags +#>=Pkg: A 1 1 noarch +#>=Req: P = 1 +#>=Pkg: P 1 1 noarch +repo available 0 testtags +#>=Pkg: P 2 1 noarch +#>=Pkg: Q 2 1 noarch +#>=Prv: P = 1 +system i686 rpm system + +job distupgrade all packages +result transaction,problems +#>install Q-2-1.noarch@available +#>upgrade P-1-1.noarch@system P-2-1.noarch@available