add multiversion testcase
authorMichael Schroeder <mls@suse.de>
Fri, 26 Apr 2013 13:09:13 +0000 (15:09 +0200)
committerMichael Schroeder <mls@suse.de>
Fri, 26 Apr 2013 13:09:13 +0000 (15:09 +0200)
test/testcases/multiversion/multiversion.t [new file with mode: 0644]

diff --git a/test/testcases/multiversion/multiversion.t b/test/testcases/multiversion/multiversion.t
new file mode 100644 (file)
index 0000000..8dad288
--- /dev/null
@@ -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