Gentoo Archives: gentoo-commits

From: Fabian Groffen <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage-utils:master commit in: tests/qatom/
Date: Mon, 06 May 2019 07:31:46
Message-Id: 1557127833.93a6fe6ffa64230847644beb1592eb7567e8ea2d.grobian@gentoo
1 commit: 93a6fe6ffa64230847644beb1592eb7567e8ea2d
2 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 6 07:30:33 2019 +0000
4 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
5 CommitDate: Mon May 6 07:30:33 2019 +0000
6 URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=93a6fe6f
7
8 tests: adapt qatom new output
9
10 Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
11
12 tests/qatom/dotest | 4 +++-
13 1 file changed, 3 insertions(+), 1 deletion(-)
14
15 diff --git a/tests/qatom/dotest b/tests/qatom/dotest
16 index 2e16b25..24bd67b 100755
17 --- a/tests/qatom/dotest
18 +++ b/tests/qatom/dotest
19 @@ -30,6 +30,7 @@ test l07 "cat pkg 123 = *" "=cat/pkg-123*"
20
21 # Explicit format.
22 test f01 "cat" -F '%{CATEGORY}' "cat/pkg"
23 +test f19 "cat/" -F '%[CATEGORY]' "cat/pkg"
24 test f02 "<unset>" -F '%{CATEGORY}' "pkg"
25 test f03 "" -F '%[CATEGORY]' "pkg"
26 test f04 "cat" -F '%{CATEGORY}' "cat/pkg-123-r4:5"
27 @@ -39,7 +40,8 @@ test f07 "123" -F '%{PV}' "cat/pkg-123-r4:5"
28 test f08 "123-r4" -F '%{PVR}' "cat/pkg-123-r4:5"
29 test f09 "pkg-123-r4" -F '%{PF}' "cat/pkg-123-r4:5"
30 test f10 "r4" -F '%{PR}' "cat/pkg-123-r4:5"
31 -test f11 ":5" -F '%{SLOT}' "cat/pkg-123-r4:5"
32 +test f11 "5" -F '%{SLOT}' "cat/pkg-123-r4:5"
33 +test f18 "repo" -F '%{REPO}' "cat/pkg-123-r4:5::repo"
34 test f12 "pkg-c" -F '%{PN}' "cat/pkg-c" # bug #639978
35 test f13 "mod_perl 1.5_p20180304 r5" \
36 -F '%{PN} %{PV} %{PR}' \