diff options
Diffstat (limited to 'test/testcases/cleandeps/cleandeps_up.t')
-rw-r--r-- | test/testcases/cleandeps/cleandeps_up.t | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/test/testcases/cleandeps/cleandeps_up.t b/test/testcases/cleandeps/cleandeps_up.t new file mode 100644 index 0000000..9bb26d2 --- /dev/null +++ b/test/testcases/cleandeps/cleandeps_up.t @@ -0,0 +1,33 @@ +repo system 0 testtags <inline> +#>=Pkg: A 1 1 noarch +#>=Req: B1 +#>=Pkg: B1 1 1 noarch +repo test 0 testtags <inline> +#>=Pkg: A 1 2 noarch +#>=Req: B1 +#>=Pkg: A 2 1 noarch +#>=Req: B2 = 1 +#>=Pkg: B1 1 1 noarch +#>=Pkg: B2 1 1 noarch +system i686 rpm system + +# check untargeted +job update name A [cleandeps] +result transaction,problems <inline> +#>erase B1-1-1.noarch@system +#>install B2-1-1.noarch@test +#>upgrade A-1-1.noarch@system A-2-1.noarch@test + +# check targeted +nextjob +job update name A = 2 [cleandeps] +result transaction,problems <inline> +#>erase B1-1-1.noarch@system +#>install B2-1-1.noarch@test +#>upgrade A-1-1.noarch@system A-2-1.noarch@test + +# check targeted to 1-2 +nextjob +job update name A = 1-2 [cleandeps] +result transaction,problems <inline> +#>upgrade A-1-1.noarch@system A-1-2.noarch@test |