[debsums] 07/07: Add check for -a option
Axel Beckert
abe at deuxchevaux.org
Thu Mar 26 01:30:27 UTC 2015
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to branch master
in repository debsums.
commit 57f9dc6635802a0150232ef648681760de58f36c
Author: Axel Beckert <abe at deuxchevaux.org>
Date: Thu Mar 26 02:30:07 2015 +0100
Add check for -a option
---
t/debsums.t | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/t/debsums.t b/t/debsums.t
index 851c099..fd4341b 100644
--- a/t/debsums.t
+++ b/t/debsums.t
@@ -96,6 +96,14 @@ EOT
'STDOUT as expected');
expected_rc($exit_code);
+ # Test option -a
+ run(@command, '-a');
+ is(stderr, '', 'STDERR is empty');
+ is(sort_lines(stdout),
+ sort_lines($expected.$expected_conffiles),
+ 'STDOUT as expected');
+ expected_rc($exit_code);
+
# Test option -ce and variants
foreach my $option (qw(-ce -ec)) {
run(@command, $option);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/debsums.git
More information about the Pkg-perl-cvs-commits
mailing list