summaryrefslogtreecommitdiff
path: root/test/testcases/selection/selection_provides.t
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2018-11-30 12:41:03 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2018-11-30 12:41:03 +0900
commit5390c526e6b93e97d269cb8a75a699631e5bb189 (patch)
tree75d74f268fe299d720eade139b5d3e67ee05420e /test/testcases/selection/selection_provides.t
parent593cf72349c7de430751446480779582c63902f5 (diff)
downloadlibsolv-5390c526e6b93e97d269cb8a75a699631e5bb189.tar.gz
libsolv-5390c526e6b93e97d269cb8a75a699631e5bb189.tar.bz2
libsolv-5390c526e6b93e97d269cb8a75a699631e5bb189.zip
Imported Upstream version 0.6.31upstream/0.6.31
Change-Id: I6009e95508e9937392b83a003dab4f30cf3a9b1b Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'test/testcases/selection/selection_provides.t')
-rw-r--r--test/testcases/selection/selection_provides.t49
1 files changed, 49 insertions, 0 deletions
diff --git a/test/testcases/selection/selection_provides.t b/test/testcases/selection/selection_provides.t
new file mode 100644
index 0000000..cb3a029
--- /dev/null
+++ b/test/testcases/selection/selection_provides.t
@@ -0,0 +1,49 @@
+repo available 0 testtags <inline>
+#>=Pkg: A 2 1 noarch
+#>=Pkg: AP 3 1 noarch
+#>=Prv: A = 3.1
+#>=Pkg: A 2 2 i686
+#>=Req: BBB > 5
+#>=Pkg: B 1 1 src
+#>=Pkg: A 2 2 badarch
+#>=Pkg: C 2 2 badarch
+#>=Pkg: D 2 2 badarch
+#>=Pkg: D 2 2 noarch
+system i686 rpm
+
+job noop selection A provides
+result jobs <inline>
+#>job noop provides A
+
+nextjob
+job noop selection A.i686 provides,dotarch
+result jobs <inline>
+#>job noop provides A . i686 [setarch]
+
+nextjob
+job noop selection A.i686>1 provides,dotarch,rel
+result jobs <inline>
+#>job noop provides (A . i686) > 1 [setarch]
+
+nextjob
+job noop selection A* glob,provides,withbadarch
+result jobs <inline>
+#>job noop oneof A-2-1.noarch@available AP-3-1.noarch@available A-2-2.i686@available A-2-2.badarch@available
+#>job noop provides AP
+
+nextjob
+job noop selection A*>=2 glob,provides,dotarch,rel,withbadarch
+result jobs <inline>
+#>job noop oneof A-2-1.noarch@available AP-3-1.noarch@available A-2-2.i686@available A-2-2.badarch@available
+#>job noop provides AP >= 2
+
+nextjob
+job noop selection C provides,withbadarch
+result jobs <inline>
+#>job noop pkg C-2-2.badarch@available [noautoset]
+
+
+nextjob
+job noop selection D provides,withbadarch
+result jobs <inline>
+#>job noop oneof D-2-2.badarch@available D-2-2.noarch@available