user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [PATCH 3/4] t/v2mda: setup emergency Maildir for test
  2018-05-11 19:20  5% [PATCH 0/4] test fixes for latest CPAN modules Eric Wong
@ 2018-05-11 19:20  7% ` Eric Wong
  0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2018-05-11 19:20 UTC (permalink / raw)
  To: meta; +Cc: Konstantin Ryabitsev

We can't expect ~/.public-inbox to exist for tests nor should
we be writing to non-temporary directories during tests.
---
 t/v2mda.t | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/t/v2mda.t b/t/v2mda.t
index ca1bb09..f386289 100644
--- a/t/v2mda.t
+++ b/t/v2mda.t
@@ -36,6 +36,8 @@ ok(-f "blib/script/public-inbox-mda", '-mda exists');
 my $main_bin = getcwd()."/t/main-bin";
 local $ENV{PI_DIR} = "$tmpdir/foo";
 local $ENV{PATH} = "$main_bin:blib/script:$ENV{PATH}";
+local $ENV{PI_EMERGENCY} = "$tmpdir/fail";
+ok(mkdir "$tmpdir/fail");
 my @cmd = (qw(public-inbox-init -V2), $ibx->{name},
 		$ibx->{mainrepo}, 'http://localhost/test',
 		$ibx->{address}->[0]);

^ permalink raw reply related	[relevance 7%]

* [PATCH 0/4] test fixes for latest CPAN modules
@ 2018-05-11 19:20  5% Eric Wong
  2018-05-11 19:20  7% ` [PATCH 3/4] t/v2mda: setup emergency Maildir for test Eric Wong
  0 siblings, 1 reply; 2+ results
From: Eric Wong @ 2018-05-11 19:20 UTC (permalink / raw)
  To: meta; +Cc: Konstantin Ryabitsev

A few test fixes for problems encountered by Konstantin on
CentOS 7 and some of the latest CPAN modules.

There's still locking problem in in t/v2mirror.t which I
have not reproduced, yet.

Eric Wong (4):
  content_id: workaround quote handling change in Email::* modules
  convert+compact: fix when running without ~/.public-inbox/config
  t/v2mda: setup emergency Maildir for test
  t/search: quiet warning from Encode.pm

 script/public-inbox-compact | 10 ++++++----
 script/public-inbox-convert | 10 ++++++----
 t/content_id.t              |  8 ++++----
 t/convert-compact.t         |  1 +
 t/search.t                  |  2 +-
 t/v2mda.t                   |  2 ++
 6 files changed, 20 insertions(+), 13 deletions(-)


^ permalink raw reply	[relevance 5%]

Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2018-05-11 19:20  5% [PATCH 0/4] test fixes for latest CPAN modules Eric Wong
2018-05-11 19:20  7% ` [PATCH 3/4] t/v2mda: setup emergency Maildir for test Eric Wong

Code repositories for project(s) associated with this public inbox

	https://80x24.org/public-inbox.git

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).