diff options
author | Eric Wong <e@80x24.org> | 2021-09-15 21:35:57 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-09-15 23:14:21 +0000 |
commit | 5d9dcc31959d520d3e7bed3f68871245bc915ca3 (patch) | |
tree | 00c2e401ba1e8b4a793816913dadf513df5d13cd /t | |
parent | 8d56d54e94125626a4777e5d45bfdc1342f0ba13 (diff) | |
download | public-inbox-5d9dcc31959d520d3e7bed3f68871245bc915ca3.tar.gz |
Since the beginning of time, I've been dropping Makefiles in $INBOX_DIR (and above hiearchies) to organize groups of commands. make(1) is widely available in various flavors and a familiar tool for our target audience. It is easy to run in the right directory, typically has built-in shell completion, and doesn't silently ignore errors by default like Bourne shell.
Diffstat (limited to 't')
-rw-r--r-- | t/lei-mirror.t | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/t/lei-mirror.t b/t/lei-mirror.t index 9fdda5aa..3eb7f36a 100644 --- a/t/lei-mirror.t +++ b/t/lei-mirror.t @@ -19,6 +19,7 @@ test_lei({ tmpdir => $tmpdir }, sub { ok(-f "$t1/public-inbox/msgmap.sqlite3", 't1-mirror indexed'); is(PublicInbox::Inbox::try_cat("$t1/description"), "mirror of $http/t1/\n", 'description set'); + ok(-f "$t1/Makefile", 'convenience Makefile added (v1)'); lei_ok('ls-external'); like($lei_out, qr!\Q$t1\E!, 't1 added to ls-externals'); @@ -27,6 +28,7 @@ test_lei({ tmpdir => $tmpdir }, sub { lei_ok('add-external', $t2, '--mirror', "$http/t2/", \'--mirror v2'); ok(-f "$t2/msgmap.sqlite3", 't2-mirror indexed'); ok(-f "$t2/description", 't2 description'); + ok(-f "$t2/Makefile", 'convenience Makefile added (v2)'); is(PublicInbox::Inbox::try_cat("$t2/description"), "mirror of $http/t2/\n", 'description set'); |