30 lines
954 B
Diff
30 lines
954 B
Diff
|
From 47734e26d67ad236a29c160ff224fcb1910e3a6f Mon Sep 17 00:00:00 2001
|
||
|
From: Michael Schroeder <mls@suse.de>
|
||
|
Date: Tue, 18 Apr 2023 12:36:40 +0200
|
||
|
Subject: [PATCH 2/5] Add testcase for last commit
|
||
|
|
||
|
---
|
||
|
test/testcases/cplxdeps/ifelse_rec.t | 10 ++++++++++
|
||
|
1 file changed, 10 insertions(+)
|
||
|
create mode 100644 test/testcases/cplxdeps/ifelse_rec.t
|
||
|
|
||
|
diff --git a/test/testcases/cplxdeps/ifelse_rec.t b/test/testcases/cplxdeps/ifelse_rec.t
|
||
|
new file mode 100644
|
||
|
index 00000000..ea467027
|
||
|
--- /dev/null
|
||
|
+++ b/test/testcases/cplxdeps/ifelse_rec.t
|
||
|
@@ -0,0 +1,10 @@
|
||
|
+repo appstream 0 testtags <inline>
|
||
|
+#>=Pkg: xorg-x11-server-Xorg 1.20.11 18.el9 noarch
|
||
|
+#>=Req: missing-req
|
||
|
+#>=Pkg: pass 1.7.4 6.el9 noarch
|
||
|
+#>=Rec: xclip <IF> (xorg-x11-server-Xorg <ELSE> wl-clipboard)
|
||
|
+repo @System 0 empty
|
||
|
+system unset * @System
|
||
|
+job install pkg pass-1.7.4-6.el9.noarch@appstream
|
||
|
+result transaction,problems <inline>
|
||
|
+#>install pass-1.7.4-6.el9.noarch@appstream
|
||
|
--
|
||
|
2.40.1
|
||
|
|