diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-12-23 14:47:19 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-12-23 14:47:19 +0900 |
commit | 5f5ff9576322b449fca131df791f4748e412df5f (patch) | |
tree | fc7068d472fa2fb11cb5ee4d4cf08d48d289c56a /test | |
parent | 4ddbcf346d1185bacbe63dba6e9317424b5206b9 (diff) | |
download | libsolv-5f5ff9576322b449fca131df791f4748e412df5f.tar.gz libsolv-5f5ff9576322b449fca131df791f4748e412df5f.tar.bz2 libsolv-5f5ff9576322b449fca131df791f4748e412df5f.zip |
Imported Upstream version 0.7.20upstream/0.7.20
Diffstat (limited to 'test')
-rw-r--r-- | test/testcases/excludefromweak/excludefromweak-obsoletes.t | 35 | ||||
-rw-r--r-- | test/testcases/excludefromweak/excludefromweak.t | 24 |
2 files changed, 59 insertions, 0 deletions
diff --git a/test/testcases/excludefromweak/excludefromweak-obsoletes.t b/test/testcases/excludefromweak/excludefromweak-obsoletes.t new file mode 100644 index 0000000..adc20d5 --- /dev/null +++ b/test/testcases/excludefromweak/excludefromweak-obsoletes.t @@ -0,0 +1,35 @@ +repo @System 0 testtags <inline> +#>=Pkg: pkg-A 1.0 1 noarch +#>=Prv: pkg-A = 1.0-1 +#>=Rec: pkg-C +#>=Pkg: pkg-B 1.0 1 noarch +#>=Prv: pkg-B = 1.0-1 + +repo available -99.-1000 testtags <inline> +#>=Pkg: pkg-A 1.0 3 noarch +#>=Prv: pkg-A = 1.0-3 +#>=Rec: pkg-B +#>=Pkg: pkg-B 1.0 2 noarch +#>=Prv: pkg-B = 1.0-2 +#>=Pkg: pkg-C 1.0 1 noarch +#>=Prv: pkg-C = 1.0-1 +#>=Obs: pkg-B + +system x86_64 rpm @System +poolflags implicitobsoleteusescolors +solverflags allowvendorchange keepexplicitobsoletes bestobeypolicy keeporphans yumobsoletes + +job update all packages [forcebest] +job excludefromweak name pkg-C +result transaction,problems <inline> +#>erase pkg-B-1.0-1.noarch@@System pkg-C-1.0-1.noarch@available +#>install pkg-C-1.0-1.noarch@available +#>upgrade pkg-A-1.0-1.noarch@@System pkg-A-1.0-3.noarch@available + +nextjob +job update oneof pkg-A-1.0-1.noarch@@System pkg-B-1.0-1.noarch@@System pkg-A-1.0-3.noarch@available pkg-B-1.0-2.noarch@available pkg-C-1.0-1.noarch@available [forcebest,targeted,setevr,setarch] +job excludefromweak name pkg-C +result transaction,problems <inline> +#>erase pkg-B-1.0-1.noarch@@System pkg-C-1.0-1.noarch@available +#>install pkg-C-1.0-1.noarch@available +#>upgrade pkg-A-1.0-1.noarch@@System pkg-A-1.0-3.noarch@available diff --git a/test/testcases/excludefromweak/excludefromweak.t b/test/testcases/excludefromweak/excludefromweak.t new file mode 100644 index 0000000..4d6d859 --- /dev/null +++ b/test/testcases/excludefromweak/excludefromweak.t @@ -0,0 +1,24 @@ +repo @System 0 testtags <inline> + +repo available -99.-1000 testtags <inline> +#>=Pkg: pkg-A 1 1 noarch +#>=Prv: pkg-A = 1-1 +#>=Rec: pkg-B +#>=Pkg: pkg-B 1 1 noarch +#>=Prv: pkg-B = 1-1 + +system x86_64 rpm @System +poolflags implicitobsoleteusescolors +solverflags allowvendorchange keepexplicitobsoletes bestobeypolicy keeporphans yumobsoletes + +job install oneof pkg-A-1-1.noarch@available [forcebest,targeted,setevr,setarch] +job excludefromweak name pkg-B +result transaction,problems <inline> +#>install pkg-A-1-1.noarch@available + +nextjob +job install oneof pkg-A-1-1.noarch@available [forcebest,targeted,setevr,setarch] +job excludefromweak name pkg-A +job excludefromweak name pkg-B +result transaction,problems <inline> +#>install pkg-A-1-1.noarch@available |