public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/portage-utils:master commit in: tests/qatom/
@ 2017-12-29 11:45 Fabian Groffen
  0 siblings, 0 replies; 4+ messages in thread
From: Fabian Groffen @ 2017-12-29 11:45 UTC (permalink / raw
  To: gentoo-commits

commit:     1ce0f46acdd9c4d32832bcb8ae2b82c021528a09
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 28 16:08:03 2017 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Thu Dec 28 16:08:03 2017 +0000
URL:        https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=1ce0f46a

tests: add test for bug #638816

 tests/qatom/dotest | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/qatom/dotest b/tests/qatom/dotest
index e616a36..1ca2367 100755
--- a/tests/qatom/dotest
+++ b/tests/qatom/dotest
@@ -40,5 +40,6 @@ 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 f12 "pkg-c"      -F '%{PN}'       "cat/pkg-c"  # bug #638816
 
 end


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] proj/portage-utils:master commit in: tests/qatom/
@ 2017-12-29 11:53 Fabian Groffen
  0 siblings, 0 replies; 4+ messages in thread
From: Fabian Groffen @ 2017-12-29 11:53 UTC (permalink / raw
  To: gentoo-commits

commit:     41674dc19543e278e09f552f12f5cb7c7590c431
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 29 11:52:13 2017 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Fri Dec 29 11:52:13 2017 +0000
URL:        https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=41674dc1

tests/qatom/dotest: fix bug reference

I managed to mix up two bugs, the bug this is all about is #639978

 tests/qatom/dotest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/qatom/dotest b/tests/qatom/dotest
index 1ca2367..c14001f 100755
--- a/tests/qatom/dotest
+++ b/tests/qatom/dotest
@@ -40,6 +40,6 @@ 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 f12 "pkg-c"      -F '%{PN}'       "cat/pkg-c"  # bug #638816
+test f12 "pkg-c"      -F '%{PN}'       "cat/pkg-c"  # bug #639978
 
 end


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] proj/portage-utils:master commit in: tests/qatom/
@ 2019-05-06  7:30 Fabian Groffen
  0 siblings, 0 replies; 4+ messages in thread
From: Fabian Groffen @ 2019-05-06  7:30 UTC (permalink / raw
  To: gentoo-commits

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}' \


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] proj/portage-utils:master commit in: tests/qatom/
@ 2019-06-13 18:32 Fabian Groffen
  0 siblings, 0 replies; 4+ messages in thread
From: Fabian Groffen @ 2019-06-13 18:32 UTC (permalink / raw
  To: gentoo-commits

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" \


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-06-13 18:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-06  7:30 [gentoo-commits] proj/portage-utils:master commit in: tests/qatom/ Fabian Groffen
  -- strict thread matches above, loose matches on Subject: below --
2019-06-13 18:32 Fabian Groffen
2017-12-29 11:53 Fabian Groffen
2017-12-29 11:45 Fabian Groffen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox