public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/portage-utils:master commit in: tests/qlop/
@ 2018-03-30  7:50 Fabian Groffen
  0 siblings, 0 replies; 2+ messages in thread
From: Fabian Groffen @ 2018-03-30  7:50 UTC (permalink / raw
  To: gentoo-commits

commit:     1320862b141f7a7e4ce7e39e31e80dc5d0900571
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 30 07:48:14 2018 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Fri Mar 30 07:48:14 2018 +0000
URL:        https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=1320862b

tests/qlop: adapt date parsing test to adhere to SUSv3

The strptime function is documented to require whitespace between any
two conversion specifications, so test like that.

Bug: https://bugs.gentoo.org/638032

 tests/qlop/dotest | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/tests/qlop/dotest b/tests/qlop/dotest
index 0275d45..ea4052d 100755
--- a/tests/qlop/dotest
+++ b/tests/qlop/dotest
@@ -37,9 +37,10 @@ test 04 0 "qlop -l gcc -f ${as}/sync.log"
 # verify atom version parsing works
 test 05 0 "qlop -l '<gcc-5' -f ${as}/sync.log"
 
-# check date time parser
+# check date time parser, note on date parsing,
+# https://bugs.gentoo.org/638032#c6 so the format %d%Y%m isn't compliant
 test 06 0 "qlop -l -f ${as}/sync.log -d 2005-01-01"
-test 07 0 "qlop -l -f ${as}/sync.log -d '%d%Y%m|01200501'"
+test 07 0 "qlop -l -f ${as}/sync.log -d '%d %Y %m|01 2005 01'"
 test 08 0 "qlop -l -f ${as}/sync.log -d 1104898893"
 
 cleantmpdir


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

* [gentoo-commits] proj/portage-utils:master commit in: tests/qlop/
@ 2019-10-20  9:15 Fabian Groffen
  0 siblings, 0 replies; 2+ messages in thread
From: Fabian Groffen @ 2019-10-20  9:15 UTC (permalink / raw
  To: gentoo-commits

commit:     c8d6b8c4ce4909b8cec932e615e53796f46f4d88
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 20 09:14:42 2019 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sun Oct 20 09:14:42 2019 +0000
URL:        https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=c8d6b8c4

tests: add forgotten test output file

Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 tests/qlop/list10.good | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/qlop/list10.good b/tests/qlop/list10.good
new file mode 100644
index 0000000..845573f
--- /dev/null
+++ b/tests/qlop/list10.good
@@ -0,0 +1,3 @@
+2019-09-20T12:27:40 >>> dev-qt/qtmultimedia... (96 of 129) ETA: unknown
+2019-09-20T16:17:50 >>> kde-frameworks/kxmlgui... (98 of 129) ETA: unknown
+2019-09-20T16:18:28 >>> net-analyzer/wireshark... (99 of 129) ETA: unknown


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

end of thread, other threads:[~2019-10-20  9:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-20  9:15 [gentoo-commits] proj/portage-utils:master commit in: tests/qlop/ Fabian Groffen
  -- strict thread matches above, loose matches on Subject: below --
2018-03-30  7:50 Fabian Groffen

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