From 4ea3975dbed0a533cc71cd8c866096c54102a93b Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 17 Feb 2021 09:07:02 -0100 Subject: tests: setup_public_inboxes: use IMAP-friendly newsgroups -imapd won't support newsgroups ending with /\.[0-9]+\z/ since it reserves those for partitioning inboxes into 50K slices. So bump the home[0-9]+ version and switch to IMAP-friendly newsgroup names. --- t/home1/.gitignore | 5 ----- t/home1/Makefile | 7 ------- t/home1/README | 8 -------- t/home2/.gitignore | 5 +++++ t/home2/Makefile | 7 +++++++ t/home2/README | 8 ++++++++ 6 files changed, 20 insertions(+), 20 deletions(-) delete mode 100644 t/home1/.gitignore delete mode 100644 t/home1/Makefile delete mode 100644 t/home1/README create mode 100644 t/home2/.gitignore create mode 100644 t/home2/Makefile create mode 100644 t/home2/README (limited to 't') diff --git a/t/home1/.gitignore b/t/home1/.gitignore deleted file mode 100644 index b97d81e6..00000000 --- a/t/home1/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -/.public-inbox -/t1 -/t2 -/setup.lock -/setup-stamp diff --git a/t/home1/Makefile b/t/home1/Makefile deleted file mode 100644 index 9d4895dc..00000000 --- a/t/home1/Makefile +++ /dev/null @@ -1,7 +0,0 @@ -all :: - -help :: - @cat README - -clean :: - $(RM) -rf t1 t2 .public-inbox setup-stamp setup-lock diff --git a/t/home1/README b/t/home1/README deleted file mode 100644 index 1ba87891..00000000 --- a/t/home1/README +++ /dev/null @@ -1,8 +0,0 @@ -This directory is for read-only test inboxes and will be shared -between various tests. - -See setup_publicinboxes() in lib/PublicInbox/TestCommon.pm. - -It is versioned (currently "1" in "home1") and will be renamed -"home2" and so forth if the data created by setup_publicinboxes() -changes. diff --git a/t/home2/.gitignore b/t/home2/.gitignore new file mode 100644 index 00000000..b97d81e6 --- /dev/null +++ b/t/home2/.gitignore @@ -0,0 +1,5 @@ +/.public-inbox +/t1 +/t2 +/setup.lock +/setup-stamp diff --git a/t/home2/Makefile b/t/home2/Makefile new file mode 100644 index 00000000..9d4895dc --- /dev/null +++ b/t/home2/Makefile @@ -0,0 +1,7 @@ +all :: + +help :: + @cat README + +clean :: + $(RM) -rf t1 t2 .public-inbox setup-stamp setup-lock diff --git a/t/home2/README b/t/home2/README new file mode 100644 index 00000000..1ba87891 --- /dev/null +++ b/t/home2/README @@ -0,0 +1,8 @@ +This directory is for read-only test inboxes and will be shared +between various tests. + +See setup_publicinboxes() in lib/PublicInbox/TestCommon.pm. + +It is versioned (currently "1" in "home1") and will be renamed +"home2" and so forth if the data created by setup_publicinboxes() +changes. -- cgit v1.2.3-24-ge0c7