diff -pruN 5.3104-4/debian/changelog 5.3104-5/debian/changelog
--- 5.3104-4/debian/changelog	2021-11-11 02:37:30.000000000 +0000
+++ 5.3104-5/debian/changelog	2022-08-01 00:59:51.000000000 +0000
@@ -1,3 +1,12 @@
+grepmail (5.3104-5) unstable; urgency=medium
+
+  * QA upload.
+  * debian/control: bumped Standards-Version to 4.6.1.
+  * debian/copyright: updated rights in packaging block.
+  * debian/tests/*: created to provide some CI tests.
+
+ -- Joao Eriberto Mota Filho <eriberto@debian.org>  Sun, 31 Jul 2022 21:59:51 -0300
+
 grepmail (5.3104-4) unstable; urgency=medium
 
   * QA upload.
diff -pruN 5.3104-4/debian/control 5.3104-5/debian/control
--- 5.3104-4/debian/control	2021-11-11 02:37:25.000000000 +0000
+++ 5.3104-5/debian/control	2022-08-01 00:59:51.000000000 +0000
@@ -11,7 +11,7 @@ Build-Depends-Indep: bzip2,
                      lzip
 Build-Depends: debhelper-compat (= 13), perl
 Maintainer: Debian QA Group <packages@qa.debian.org>
-Standards-Version: 4.6.0.1
+Standards-Version: 4.6.1
 Vcs-Git: https://salsa.debian.org/debian/grepmail.git
 Vcs-Browser: https://salsa.debian.org/debian/grepmail
 Homepage: https://metacpan.org/dist/grepmail
diff -pruN 5.3104-4/debian/copyright 5.3104-5/debian/copyright
--- 5.3104-4/debian/copyright	2021-11-11 02:37:25.000000000 +0000
+++ 5.3104-5/debian/copyright	2022-08-01 00:59:51.000000000 +0000
@@ -23,6 +23,7 @@ Copyright: 1998-2008 Joey Hess <joeyh@de
            2018      Reiner Herrmann <reiner@reiner-h.de>
            2021      Guilherme de Paula Xavier Segundo <guilherme.lnx@gmail.com>
            2021      Jelmer Vernooij <jelmer@debian.org>
+           2021-2022 Joao Eriberto Mota Filho <eriberto@debian.org>
            2021      Marcos Talau <marcos@talau.info>
 License: GPL-2
 
diff -pruN 5.3104-4/debian/tests/control 5.3104-5/debian/tests/control
--- 5.3104-4/debian/tests/control	1970-01-01 00:00:00.000000000 +0000
+++ 5.3104-5/debian/tests/control	2022-08-01 00:59:51.000000000 +0000
@@ -0,0 +1,21 @@
+Test-Command: grepmail -V
+Restrictions: superficial
+
+Test-Command: grepmail 2>&1 | egrep usage -C 200
+Restrictions: superficial
+
+Test-Command: grepmail -r . debian/tests/mbox | egrep ": 2" || exit 1
+
+Test-Command: grepmail only debian/tests/mbox | egrep "A test only" || exit 1
+
+Test-Command: grepmail -d "6/1/2019" debian/tests/mbox
+
+Test-Command: grepmail -i "(bol|apt)" -d "before 6/1/2019"
+              debian/tests/mbox | egrep "files for apt-cacher-ng" || exit 1
+
+Test-Command: grepmail -iv "(bol|apt)" -d "after 6/1/2019"
+              debian/tests/mbox | egrep "test only" || exit 1
+
+Test-Command: grepmail -hl "^From.*admin" debian/tests/m* | egrep "mbox" || exit 1
+
+Test-Command: grepmail -br apt debian/tests/m* | egrep ": 1" || exit 1
diff -pruN 5.3104-4/debian/tests/mbox 5.3104-5/debian/tests/mbox
--- 5.3104-4/debian/tests/mbox	1970-01-01 00:00:00.000000000 +0000
+++ 5.3104-5/debian/tests/mbox	2022-08-01 00:59:51.000000000 +0000
@@ -0,0 +1,40 @@
+From admin@example.net  Mon Jan 19 06:27:54 2015
+Return-Path: <admin@example.net>
+Received: from gemini.example.net (localhost [127.0.0.1])
+ by gemini.example.net (8.14.4/8.14.4/Debian-4) with ESMTP id t0J8RrZ1006641
+ for <eriberto@eriberto.pro.br>; Mon, 19 Jan 2015 06:27:53 -0200
+Date: Mon, 19 Jan 2015 06:27:53 -0200
+Message-Id: <201501190827.t0J8RrWa006640@gemini.example.net>
+From: admin@example.net (Cron Daemon)
+To: eriberto@eriberto.pro.br
+Subject: Cron <root@gemini> test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
+Content-Type: text/plain; charset=UTF-8
+X-Cron-Env: <SHELL=/bin/sh>
+X-Cron-Env: <PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin>
+X-Cron-Env: <HOME=/root>
+X-Cron-Env: <LOGNAME=root>
+Status: RO
+
+/etc/cron.daily/apt-cacher-ng:
+Error(s) occured while updating volatile index files for apt-cacher-ng.
+Please visit http://gemini:3142/acng-report.html to rerun the
+expiration manually or check the error message(s) in the current log file(s).
+
+Please check error messages in one of: /var/log/apt-cacher-ng/maint_1421655909.log.html /var/log/apt-cacher-ng/maint_1421254547.log.html
+/etc/cron.daily/logrotate:
+gzip: stdin: file size changed while zipping
+
+From admin@example.net  Fri Jan 21 09:43:14 2022
+Return-Path: <admin@example.net>
+Received: from gemini.example.net (localhost [127.0.0.1])
+ by gemini.example.net (8.14.4/8.14.4/Debian-4) with ESMTP id t0J8RrZ1007242
+ for <eriberto@eriberto.pro.br>; Fri, 21 Jan 2022 09:43:14 -0200
+Date: Fri, 21 Jan 2022 09:43:14 -0200
+Message-Id: <202201210943.t0J8RrWa007242@gemini.example.net>
+From: admin@example.net (Cron Daemon)
+To: eriberto@eriberto.pro.br
+Subject: A test
+Content-Type: text/plain; charset=UTF-8
+
+A test only...
+
