]> Sergey Matveev's repositories - public-inbox.git/commit
t/lei-daemon: skip inaccessible socket test as root
authorEric Wong <e@80x24.org>
Tue, 20 Apr 2021 22:06:08 +0000 (22:06 +0000)
committerEric Wong <e@80x24.org>
Wed, 21 Apr 2021 08:28:36 +0000 (04:28 -0400)
commit42bf77d28591740ac94e4e3d50661ae84c88ca5b
tree594ce4dff00d6980d44a3de0951de44ff3099947
parent41d3b34eb617927131e619de3ed16bd3981a9b66
t/lei-daemon: skip inaccessible socket test as root

"chmod 0000" on a Unix socket can't stop root from connecting to it;
so just skip the test for rare cases when testing as root.

Reported-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Link: https://public-inbox.org/meta/20210420213712.qfpftr2r543cqg7l@nitro.local/
t/lei-daemon.t