diff options
author | Eric Wong <e@80x24.org> | 2021-01-20 14:04:43 +0900 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-01-21 03:29:16 +0000 |
commit | 3dde6fa1268e2f86f10f26b7d427598e582aed2a (patch) | |
tree | 91594295d071ff279bcc4d18bc3fb3dc1e9d3334 /t | |
parent | b0b13249a538fc6f9a4c109d15d51170e3dd8bdd (diff) | |
download | public-inbox-3dde6fa1268e2f86f10f26b7d427598e582aed2a.tar.gz |
We may attempt to write an mbox to any terminal, block, or character device, not just regular files and FIFOs/pipes. The only thing that is known to not work is a directory. Sockets may be possible with some OSes (e.g. Plan 9) or filesystems. This fixes t/lei.t on FreeBSD 11.x
Diffstat (limited to 't')
-rw-r--r-- | t/lei.t | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -187,7 +187,7 @@ my $test_external = sub { is($? >> 8, 1, 'errored out with exit 1'); ok(!$lei->(qw(q s:prefix -f mboxcl2 -o), $home), 'bad mbox'); - like($err, qr!\Q$home\E exists and is not a regular file!, + like($err, qr!\Q$home\E exists and is not a writable file!, 'error shown'); is($? >> 8, 1, 'errored out with exit 1'); |