]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
Add testcase for better choicerule creation
authorMichael Schroeder <mls@suse.de>
Tue, 6 Oct 2020 11:43:39 +0000 (13:43 +0200)
committerMichael Schroeder <mls@suse.de>
Tue, 6 Oct 2020 11:43:39 +0000 (13:43 +0200)
test/testcases/choicerules/choice2.t [new file with mode: 0644]

diff --git a/test/testcases/choicerules/choice2.t b/test/testcases/choicerules/choice2.t
new file mode 100644 (file)
index 0000000..7c78fc6
--- /dev/null
@@ -0,0 +1,23 @@
+repo system 0 testtags <inline>
+#>=Pkg: A 1 1 noarch
+#>=Req: P = 1
+#>=Pkg: B 1 1 noarch
+#>=Prv: P = 1
+repo available 0 testtags <inline>
+#>=Pkg: A 2 1 noarch
+#>=Req: P = 2
+#>=Pkg: A 2 2 noarch
+#>=Req: P = 2
+#>=Pkg: B 2 1 noarch
+#>=Prv: P = 2
+#>=Pkg: C 1 1 noarch
+#>=Prv: P = 1
+#>=Pkg: C 2 1 noarch
+#>=Prv: P = 2
+system i686 rpm system
+
+job update name B
+result transaction,problems <inline>
+result transaction,problems <inline>
+#>upgrade A-1-1.noarch@system A-2-2.noarch@available
+#>upgrade B-1-1.noarch@system B-2-1.noarch@available