unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
From: Eric Wong <e@80x24.org>
To: meta@public-inbox.org
Cc: Eric Wong <e@80x24.org>
Subject: [PATCH 1/3] t/*.t: quiet down "git init"
Date: Mon, 29 Feb 2016 08:25:53 +0000	[thread overview]
Message-ID: <20160229082555.28323-2-e@80x24.org> (raw)
In-Reply-To: <20160229082555.28323-1-e@80x24.org>

No need to pollute the output with needless messages
---
 t/extractor.t       | 2 +-
 t/git.t             | 2 +-
 t/mda-badheaders.t  | 2 +-
 t/mda-conflict.t    | 2 +-
 t/mda-missing-mid.t | 2 +-
 t/remover.t         | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/t/extractor.t b/t/extractor.t
index abad5b8..154e666 100644
--- a/t/extractor.t
+++ b/t/extractor.t
@@ -18,7 +18,7 @@ my $maildir = "$outdir/maildir/";
 my $mailbox = "$outdir/mbox";
 
 my $mdagit = Ssoma::Git->new("$mdadir/gittest");
-$mdagit->init_db;
+$mdagit->init_db('-q');
 my $mda = Ssoma::MDA->new($mdagit);
 my $email = Email::Simple->new(<<'EOF');
 From: U <u@example.com>
diff --git a/t/git.t b/t/git.t
index c19093d..3af517b 100644
--- a/t/git.t
+++ b/t/git.t
@@ -10,7 +10,7 @@ use File::Temp qw/tempdir/;
 my $tmpdir = tempdir(CLEANUP => 1);
 my $git = Ssoma::Git->new("$tmpdir/gittest");
 
-$git->init_db;
+$git->init_db('-q');
 ok(-d "$tmpdir/gittest", "git repo created");
 
 {
diff --git a/t/mda-badheaders.t b/t/mda-badheaders.t
index b161574..40b15a9 100644
--- a/t/mda-badheaders.t
+++ b/t/mda-badheaders.t
@@ -12,7 +12,7 @@ use File::Temp qw/tempdir/;
 
 my $tmpdir = tempdir(CLEANUP => 1);
 my $git = Ssoma::Git->new("$tmpdir/gittest");
-$git->init_db;
+$git->init_db('-q');
 my $mda = Ssoma::MDA->new($git);
 
 my $email = Email::Simple->new("From: U <u\@example.com>\n\nHIHI\n");
diff --git a/t/mda-conflict.t b/t/mda-conflict.t
index 54b3541..5d3cd6a 100644
--- a/t/mda-conflict.t
+++ b/t/mda-conflict.t
@@ -12,7 +12,7 @@ use File::Temp qw/tempdir/;
 
 my $tmpdir = tempdir(CLEANUP => 1);
 my $git = Ssoma::Git->new("$tmpdir/gittest");
-$git->init_db;
+$git->init_db('-q');
 my $mda = Ssoma::MDA->new($git);
 
 my $email = Email::Simple->new("From: U <u\@example.com>\n\nHIHI\n");
diff --git a/t/mda-missing-mid.t b/t/mda-missing-mid.t
index d375ae9..b87a603 100644
--- a/t/mda-missing-mid.t
+++ b/t/mda-missing-mid.t
@@ -10,7 +10,7 @@ use Email::Simple;
 use File::Temp qw/tempdir/;
 my $tmpdir = tempdir(CLEANUP => 1);
 my $git = Ssoma::Git->new("$tmpdir/gittest");
-$git->init_db;
+$git->init_db('-q');
 my $mda = Ssoma::MDA->new($git);
 my $email = Email::Simple->new("From: U <u\@example.com>\n\nHIHI\n");
 $mda->deliver($email);
diff --git a/t/remover.t b/t/remover.t
index f714aff..9ddb7ff 100644
--- a/t/remover.t
+++ b/t/remover.t
@@ -14,7 +14,7 @@ use File::Temp qw/tempdir/;
 my $tmpdir = tempdir(CLEANUP => 1);
 my $git_dir = "$tmpdir/gittest";
 my $git = Ssoma::Git->new($git_dir);
-$git->init_db;
+$git->init_db('-q');
 my $mda = Ssoma::MDA->new($git);
 my $rm = Ssoma::Remover->new($git);
 my @tree;
-- 
EW


  reply	other threads:[~2016-02-29  8:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-29  8:25 [ssoma PATCH 0/3] test output cleanups Eric Wong
2016-02-29  8:25 ` Eric Wong [this message]
2016-02-29  8:25 ` [PATCH 2/3] t/: try to ensure test output is stable Eric Wong
2016-02-29  8:25 ` [PATCH 3/3] t/*: use identifiable tempdir names Eric Wong
2016-03-01  5:21 ` [PATCH] copyright updates for 2016 Eric Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://public-inbox.org/README

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160229082555.28323-2-e@80x24.org \
    --to=e@80x24.org \
    --cc=meta@public-inbox.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).