summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2020-11-27 14:49:41 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2020-11-27 14:49:41 +0900
commit99023ce80ad7daa0f6462861dac71e17aac694b8 (patch)
tree0df34c5c104209ad692e46fe842395cc35436aea /test
parentb712cabb59f7155205489f15a37addb4ac8b0069 (diff)
downloadlibsolv-99023ce80ad7daa0f6462861dac71e17aac694b8.tar.gz
libsolv-99023ce80ad7daa0f6462861dac71e17aac694b8.tar.bz2
libsolv-99023ce80ad7daa0f6462861dac71e17aac694b8.zip
Imported Upstream version 0.7.16upstream/0.7.16
Diffstat (limited to 'test')
-rw-r--r--test/testcases/choicerules/choice2.t23
1 files changed, 23 insertions, 0 deletions
diff --git a/test/testcases/choicerules/choice2.t b/test/testcases/choicerules/choice2.t
new file mode 100644
index 0000000..7c78fc6
--- /dev/null
+++ b/test/testcases/choicerules/choice2.t
@@ -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