From: Eric Wong Date: Thu, 14 Sep 2023 12:12:55 +0000 (+0000) Subject: t/lei-mirror: do not bail out on `make help' failure X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e21d23ad95d4a50880b6a8dbabfaceccac5c1a99;p=thirdparty%2Fpublic-inbox.git t/lei-mirror: do not bail out on `make help' failure I'm not sure why, but this test occasionally fails on OpenBSD and I can't reproduce it on a repeatable basis. In any case, there's no reason we can't continue the rest of the test if `make help' fails. --- diff --git a/t/lei-mirror.t b/t/lei-mirror.t index 2400578a7..9b5d73ec9 100644 --- a/t/lei-mirror.t +++ b/t/lei-mirror.t @@ -27,7 +27,8 @@ test_lei({ tmpdir => $tmpdir }, sub { "mirror of $http/t1/\n", 'description set'); ok(-f "$t1/Makefile", 'convenience Makefile added (v1)'); my $make = which('make'); - xsys_e([$make, 'help'], undef, { -C => $t1, 1 => \(my $help) }); + is(xsys([$make, 'help'], undef, { -C => $t1, 1 => \(my $help) }), 0, + 'make help'); ok(-f "$t1/inbox.config.example", 'inbox.config.example downloaded'); isnt($help, '', 'make help worked'); is((stat(_))[9], $created{v1},