aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/qlist/dotest3
-rw-r--r--tests/qlist/list01.good1
-rw-r--r--tests/qlist/list07.good1
-rw-r--r--tests/qlist/list11.good1
-rw-r--r--tests/qlist/list12.good1
-rw-r--r--tests/qlist/list14.good6
-rw-r--r--tests/qlist/root/cat/sub-2/CONTENTS0
-rw-r--r--tests/qlist/root/cat/sub-2/SLOT1
-rw-r--r--tests/qlist/root/cat/sub-2/repository1
9 files changed, 15 insertions, 0 deletions
diff --git a/tests/qlist/dotest b/tests/qlist/dotest
index dfc4779b..b5e1a414 100755
--- a/tests/qlist/dotest
+++ b/tests/qlist/dotest
@@ -55,6 +55,9 @@ test 12 "qlist -ICSR"
# exact CAT/PN:slot::repo files list test
test 13 "qlist -Ce --showdebug app-arch/cpio:0::gentoo"
+# sub-SLOT test
+test 14 "qlist -ICSS"
+
cleantmpdir
end
diff --git a/tests/qlist/list01.good b/tests/qlist/list01.good
index 00fc0e38..82249bf2 100644
--- a/tests/qlist/list01.good
+++ b/tests/qlist/list01.good
@@ -2,4 +2,5 @@ a-b/a
a-b/b
app-arch/cpio
cat/pkg
+cat/sub
sys-fs/mtools
diff --git a/tests/qlist/list07.good b/tests/qlist/list07.good
index 8540b4e2..769299cd 100644
--- a/tests/qlist/list07.good
+++ b/tests/qlist/list07.good
@@ -2,4 +2,5 @@ a-b/a:a-0
a-b/b:b-0
app-arch/cpio:0
cat/pkg:1
+cat/sub:1
sys-fs/mtools:0
diff --git a/tests/qlist/list11.good b/tests/qlist/list11.good
index 1f2bfe67..cb2abafc 100644
--- a/tests/qlist/list11.good
+++ b/tests/qlist/list11.good
@@ -2,4 +2,5 @@ a-b/a::a
a-b/b::b
app-arch/cpio::gentoo
cat/pkg::repo
+cat/sub::repo
sys-fs/mtools::gentoo
diff --git a/tests/qlist/list12.good b/tests/qlist/list12.good
index 61d8643f..706cb292 100644
--- a/tests/qlist/list12.good
+++ b/tests/qlist/list12.good
@@ -2,4 +2,5 @@ a-b/a:a-0::a
a-b/b:b-0::b
app-arch/cpio:0::gentoo
cat/pkg:1::repo
+cat/sub:1::repo
sys-fs/mtools:0::gentoo
diff --git a/tests/qlist/list14.good b/tests/qlist/list14.good
new file mode 100644
index 00000000..37abd514
--- /dev/null
+++ b/tests/qlist/list14.good
@@ -0,0 +1,6 @@
+a-b/a:a-0
+a-b/b:b-0
+app-arch/cpio:0
+cat/pkg:1
+cat/sub:1/1234
+sys-fs/mtools:0
diff --git a/tests/qlist/root/cat/sub-2/CONTENTS b/tests/qlist/root/cat/sub-2/CONTENTS
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/tests/qlist/root/cat/sub-2/CONTENTS
diff --git a/tests/qlist/root/cat/sub-2/SLOT b/tests/qlist/root/cat/sub-2/SLOT
new file mode 100644
index 00000000..88c6a1cc
--- /dev/null
+++ b/tests/qlist/root/cat/sub-2/SLOT
@@ -0,0 +1 @@
+1/1234
diff --git a/tests/qlist/root/cat/sub-2/repository b/tests/qlist/root/cat/sub-2/repository
new file mode 100644
index 00000000..f606d5e0
--- /dev/null
+++ b/tests/qlist/root/cat/sub-2/repository
@@ -0,0 +1 @@
+repo