[dpkg] 131/187: test: Pass -q to grep command to suppress matched output
Reiner Herrmann
reiner at reiner-h.de
Sun Nov 6 12:46:33 UTC 2016
This is an automated email from the git hooks/post-receive script.
deki-guest pushed a commit to branch master
in repository dpkg.
commit 3c69ed9189bdcf6d86be470ec1b841624f719786
Author: Guillem Jover <guillem at debian.org>
Date: Mon Sep 19 00:50:30 2016 +0200
test: Pass -q to grep command to suppress matched output
---
debian/changelog | 1 +
t/pod-coverage.t | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index f622bb5..f5b807b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -161,6 +161,7 @@ dpkg (1.18.11) UNRELEASED; urgency=medium
- Skip the involved tests if IO::String is missing.
- Add new unit test for libdpkg error handling.
- Delete MAKEFLAGS environment variable when testing make invocations.
+ - Pass -q to grep command to suppress matched output in pod-coverage.t.
* Build system:
- Add support for profiling perl modules.
- Clean up compiler and linker automatic flag usage in configure.
diff --git a/t/pod-coverage.t b/t/pod-coverage.t
index 3281bea..6289e71 100644
--- a/t/pod-coverage.t
+++ b/t/pod-coverage.t
@@ -35,7 +35,8 @@ sub all_pod_modules
return unless $module =~ s/\.pm$//;
# As a first step just check public modules (version > 0.xx).
- return unless system('grep', '^our \$VERSION = \'[^0]\.', $File::Find::name) == 0;
+ return unless system('grep', '-q', '^our \$VERSION = \'[^0]\.',
+ $File::Find::name) == 0;
$module =~ s{^\Q$File::Find::topdir\E/}{};
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/dpkg.git
More information about the Reproducible-commits
mailing list