diff options
author | Michael Schroeder <mls@suse.de> | 2013-04-26 15:09:13 +0200 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2013-04-26 15:09:13 +0200 |
commit | bc8fdea440e595e88a57e0307732fb2158ff390d (patch) | |
tree | 9f19b12ce3880b1cb3f80e6282283e2dbea9aab1 | |
parent | 982e0fa340f1bbbeee589f322b0b6757fa4597c4 (diff) | |
download | libsolv-bc8fdea440e595e88a57e0307732fb2158ff390d.tar.gz libsolv-bc8fdea440e595e88a57e0307732fb2158ff390d.tar.bz2 libsolv-bc8fdea440e595e88a57e0307732fb2158ff390d.zip |
add multiversion testcase
-rw-r--r-- | test/testcases/multiversion/multiversion.t | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/test/testcases/multiversion/multiversion.t b/test/testcases/multiversion/multiversion.t new file mode 100644 index 0000000..8dad288 --- /dev/null +++ b/test/testcases/multiversion/multiversion.t @@ -0,0 +1,30 @@ +repo system 0 testtags <inline> +#>=Pkg: A 1 1 noarch +#>=Pkg: B 1 1 noarch +repo test 0 testtags <inline> +#>=Pkg: A 2 1 noarch +#>=Obs: B +system i686 rpm system + +solverflags keepexplicitobsoletes +job multiversion name A +job install name A = 2 +result transaction,problems <inline> +#>erase B-1-1.noarch@system A-2-1.noarch@test +#>install A-2-1.noarch@test + +nextjob +solverflags keepexplicitobsoletes +poolflags noobsoletesmultiversion +job multiversion name A +job install name A = 2 +result transaction,problems <inline> +#>erase B-1-1.noarch@system +#>install A-2-1.noarch@test + +nextjob +poolflags !noobsoletesmultiversion +job multiversion name A +job install name A = 2 +result transaction,problems <inline> +#>install A-2-1.noarch@test |