[mb2md] 01/04: Make check names distinguishable
Axel Beckert
abe at deuxchevaux.org
Sun May 22 16:41:40 UTC 2016
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to branch master
in repository mb2md.
commit b50030f0a4380047681c98c3c86b1573d22c6474
Author: Axel Beckert <abe at deuxchevaux.org>
Date: Sun May 22 18:17:00 2016 +0200
Make check names distinguishable
Gbp-Dch: Ignore
---
debian/tests/t/mb2md.t | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/debian/tests/t/mb2md.t b/debian/tests/t/mb2md.t
index 5e98e24..8b97fa3 100755
--- a/debian/tests/t/mb2md.t
+++ b/debian/tests/t/mb2md.t
@@ -33,20 +33,21 @@ sub replace_prefix {
# Without prefix, i.e. relative to $HOME
run_ok("$mb2md -s example.mbox -d example.maildir");
-is(stdout, replace_prefix($output_template, $fakehome), 'Stdout as expected');
-is(stderr, '', 'No stderr');
+is(stdout, replace_prefix($output_template, $fakehome), 'Stdout as expected ($HOME)');
+is(stderr, '', 'No stderr ($HOME)');
# With absolute paths
run_ok("$mb2md -s $dir1/example.mbox -d $dir1/example.maildir");
-is(stdout, replace_prefix($output_template, $dir1), 'Stdout as expected');
-is(stderr, '', 'No stderr');
+is(stdout, replace_prefix($output_template, $dir1),
+ 'Stdout as expected (/…)');
+is(stderr, '', 'No stderr (/…)');
# With ./ prefix
my $cwd = cwd;
ok(chdir($dir2), "Change to directory '$dir2'.");
run_ok("$mb2md -s ./example.mbox -d ./example.maildir");
ok(chdir($cwd), "Change to directory back to '$cwd'.");
-is(stdout, replace_prefix($output_template, '.'), 'Stdout as expected');
-is(stderr, '', 'No stderr');
+is(stdout, replace_prefix($output_template, '.'), 'Stdout as expected (./…)');
+is(stderr, '', 'No stderr (./…)');
done_testing();
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/mb2md.git
More information about the Pkg-perl-cvs-commits
mailing list