diff options
author | Mike Frysinger <vapier@gentoo.org> | 2014-05-03 12:46:01 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2014-05-03 12:49:08 -0400 |
commit | ecc0e22040bd5b395e26b3df0a4d8d82bc0eaed2 (patch) | |
tree | a9d0f6b27347e0070ce180e0b930c53480a2aa52 /tests/qlist | |
parent | qdepends: fix (another) assert after eat_file rework (diff) | |
download | portage-utils-ecc0e22040bd5b395e26b3df0a4d8d82bc0eaed2.tar.gz portage-utils-ecc0e22040bd5b395e26b3df0a4d8d82bc0eaed2.tar.bz2 portage-utils-ecc0e22040bd5b395e26b3df0a4d8d82bc0eaed2.zip |
qlist: have -S only show main slot by default
If people want the subslot, they can use -SS.
Diffstat (limited to 'tests/qlist')
-rwxr-xr-x | tests/qlist/dotest | 3 | ||||
-rw-r--r-- | tests/qlist/list01.good | 1 | ||||
-rw-r--r-- | tests/qlist/list07.good | 1 | ||||
-rw-r--r-- | tests/qlist/list11.good | 1 | ||||
-rw-r--r-- | tests/qlist/list12.good | 1 | ||||
-rw-r--r-- | tests/qlist/list14.good | 6 | ||||
-rw-r--r-- | tests/qlist/root/cat/sub-2/CONTENTS | 0 | ||||
-rw-r--r-- | tests/qlist/root/cat/sub-2/SLOT | 1 | ||||
-rw-r--r-- | tests/qlist/root/cat/sub-2/repository | 1 |
9 files changed, 15 insertions, 0 deletions
diff --git a/tests/qlist/dotest b/tests/qlist/dotest index dfc4779..b5e1a41 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 00fc0e3..82249bf 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 8540b4e..769299c 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 1f2bfe6..cb2abaf 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 61d8643..706cb29 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 0000000..37abd51 --- /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 0000000..e69de29 --- /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 0000000..88c6a1c --- /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 0000000..f606d5e --- /dev/null +++ b/tests/qlist/root/cat/sub-2/repository @@ -0,0 +1 @@ +repo |