aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-03-27 23:52:02 -0400
committerMike Frysinger <vapier@gentoo.org>2016-03-27 23:52:02 -0400
commit79ae531435cf37e50676c25e794f335a6587c7d3 (patch)
tree584269878b89f1a4062d98c34a47eca81d261589 /tests/qlop/dotest
parentqlop: drop redundant headers (diff)
downloadportage-utils-79ae531435cf37e50676c25e794f335a6587c7d3.tar.gz
portage-utils-79ae531435cf37e50676c25e794f335a6587c7d3.tar.bz2
portage-utils-79ae531435cf37e50676c25e794f335a6587c7d3.zip
qlop: add --date option to filter output
Allow people to filter results by start & end dates. URL: https://bugs.gentoo.org/192918 Reported-by: Laurento Frittella <laurento.frittella@gmail.com>
Diffstat (limited to 'tests/qlop/dotest')
-rwxr-xr-xtests/qlop/dotest5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/qlop/dotest b/tests/qlop/dotest
index fad6011..0275d45 100755
--- a/tests/qlop/dotest
+++ b/tests/qlop/dotest
@@ -37,6 +37,11 @@ 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
+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 08 0 "qlop -l -f ${as}/sync.log -d 1104898893"
+
cleantmpdir
end