user/dev discussion of public-inbox itself
 help / Atom feed
* [PATCH] t/mime.t: quiet warning during test, at least
@ 2017-02-12  2:08 Eric Wong
  2017-02-12  2:42 ` [PATCH v2] t/mime: quiet warnings for old versions of Email::Simple Eric Wong
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Wong @ 2017-02-12  2:08 UTC (permalink / raw)
  To: meta

This is fixed in the newest versions of Email::Simple,
but not the version in Debian jessie (2.203)
---
 t/mime.t | 1 +
 1 file changed, 1 insertion(+)

diff --git a/t/mime.t b/t/mime.t
index c4bdcf0..3e29dbc 100644
--- a/t/mime.t
+++ b/t/mime.t
@@ -20,6 +20,7 @@ Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=s
         boundary="94eb2c0bc864b76ba30545b2bca9"
 
 --94eb2c0bc864b76ba30545b2bca9
+Content-Type: text/plain
 
 Richard Hansen (2):
   diff: document behavior of relative diff.orderFile
-- 
EW


^ permalink raw reply	[flat|threaded] 2+ messages in thread

* [PATCH v2] t/mime: quiet warnings for old versions of Email::Simple
  2017-02-12  2:08 [PATCH] t/mime.t: quiet warning during test, at least Eric Wong
@ 2017-02-12  2:42 ` Eric Wong
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Wong @ 2017-02-12  2:42 UTC (permalink / raw)
  To: meta

This is fixed in the newest versions of Email::Simple,
but not the version in Debian jessie (2.203)
---
 v1 actually broke the intent of the test :x

 t/mime.t | 1 +
 1 file changed, 1 insertion(+)

diff --git a/t/mime.t b/t/mime.t
index c4bdcf0..b0e2290 100644
--- a/t/mime.t
+++ b/t/mime.t
@@ -8,6 +8,7 @@ use Test::More;
 use_ok 'PublicInbox::MIME';
 use PublicInbox::MsgIter;
 
+local $SIG{__WARN__} = sub {};
 my $msg = PublicInbox::MIME->new(
 'From:   Richard Hansen <hansenr@google.com>
 To:     git@vger.kernel.org
-- 
EW


^ permalink raw reply	[flat|threaded] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-12  2:08 [PATCH] t/mime.t: quiet warning during test, at least Eric Wong
2017-02-12  2:42 ` [PATCH v2] t/mime: quiet warnings for old versions of Email::Simple Eric Wong

user/dev discussion of public-inbox itself

Archives are clonable:
	git clone --mirror https://public-inbox.org/meta
	git clone --mirror http://czquwvybam4bgbro.onion/meta
	git clone --mirror http://hjrcffqmbrq6wope.onion/meta
	git clone --mirror http://ou63pmih66umazou.onion/meta

Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.mail.public-inbox.meta
	nntp://ou63pmih66umazou.onion/inbox.comp.mail.public-inbox.meta
	nntp://czquwvybam4bgbro.onion/inbox.comp.mail.public-inbox.meta
	nntp://hjrcffqmbrq6wope.onion/inbox.comp.mail.public-inbox.meta
	nntp://news.gmane.org/gmane.mail.public-inbox.general

 note: .onion URLs require Tor: https://www.torproject.org/
       or Tor2web: https://www.tor2web.org/

AGPL code for this site: git clone https://public-inbox.org/ public-inbox