commit: 93a6fe6ffa64230847644beb1592eb7567e8ea2d
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Mon May 6 07:30:33 2019 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Mon May 6 07:30:33 2019 +0000
URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=93a6fe6f
tests: adapt qatom new output
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
tests/qatom/dotest | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tests/qatom/dotest b/tests/qatom/dotest
index 2e16b25..24bd67b 100755
--- a/tests/qatom/dotest
+++ b/tests/qatom/dotest
@@ -30,6 +30,7 @@ test l07 "cat pkg 123 = *" "=cat/pkg-123*"
# Explicit format.
test f01 "cat" -F '%{CATEGORY}' "cat/pkg"
+test f19 "cat/" -F '%[CATEGORY]' "cat/pkg"
test f02 "<unset>" -F '%{CATEGORY}' "pkg"
test f03 "" -F '%[CATEGORY]' "pkg"
test f04 "cat" -F '%{CATEGORY}' "cat/pkg-123-r4:5"
@@ -39,7 +40,8 @@ test f07 "123" -F '%{PV}' "cat/pkg-123-r4:5"
test f08 "123-r4" -F '%{PVR}' "cat/pkg-123-r4:5"
test f09 "pkg-123-r4" -F '%{PF}' "cat/pkg-123-r4:5"
test f10 "r4" -F '%{PR}' "cat/pkg-123-r4:5"
-test f11 ":5" -F '%{SLOT}' "cat/pkg-123-r4:5"
+test f11 "5" -F '%{SLOT}' "cat/pkg-123-r4:5"
+test f18 "repo" -F '%{REPO}' "cat/pkg-123-r4:5::repo"
test f12 "pkg-c" -F '%{PN}' "cat/pkg-c" # bug #639978
test f13 "mod_perl 1.5_p20180304 r5" \
-F '%{PN} %{PV} %{PR}' \