]> Sergey Matveev's repositories - public-inbox.git/commit
t/lei-watch: avoid race between glob + readlink
authorEric Wong <e@80x24.org>
Tue, 31 Aug 2021 11:21:21 +0000 (11:21 +0000)
committerEric Wong <e@80x24.org>
Tue, 31 Aug 2021 11:29:10 +0000 (11:29 +0000)
commita5990c69ff5a2e075d21e862033659707f2507a3
treef9957c129ec78bb9a47e1a4cac6fc8ddd779fbd1
parent7f8d7e22ca8b6d1a5499f8782f7f05020d7d3b95
t/lei-watch: avoid race between glob + readlink

Open file handles in lei-daemon may be unstable so we need to
account for readlink() returning undef.
t/lei-watch.t