commit: 36b47bcccc9434c7166c3b4b4d62de07d530294c
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 13 18:31:48 2019 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Thu Jun 13 18:31:48 2019 +0000
URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=36b47bcc
tests/qatom: add exact usage from Puppet provider as test
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
tests/qatom/dotest | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tests/qatom/dotest b/tests/qatom/dotest
index 0d04f40..f478f1c 100755
--- a/tests/qatom/dotest
+++ b/tests/qatom/dotest
@@ -64,6 +64,10 @@ test f20 "cat/pkg" -F '%[CATEGORY]%[PF]' \
test f21 "pkg-123-r4:5::repo" \
-F '%[PF]%[SLOT]%[REPO]' \
"cat/pkg-123-r4:5::repo"
+# Puppet portage provider
+test p01 "[app-admin] [syslog-ng] [] [] [] [] []" \
+ -F "[%[CATEGORY]] [%[PN]] [%[PV]] [%[PR]] [%[SLOT]]
[%[pfx]] [%[sfx]]" \
+ "app-admin/syslog-ng"
# Comparison tests
test c01 "cat/pkg-123-r3 == pkg" \