]> Sergey Matveev's repositories - public-inbox.git/commit
t/hl_mod.t: remove IPC::Run (and File::Temp) dependency
authorEric Wong <e@80x24.org>
Mon, 4 Nov 2019 03:01:36 +0000 (03:01 +0000)
committerEric Wong <e@80x24.org>
Fri, 8 Nov 2019 20:22:51 +0000 (20:22 +0000)
commit1709921529d4024e241ec64b86a5d408333f667e
tree095a35fa2a16127e3e1d8c6f44ca588b09d7c354
parentc976a11cae7779b7be80edefff1411823c4b75e1
t/hl_mod.t: remove IPC::Run (and File::Temp) dependency

We already load PublicInbox::Spawn for which(), so using spawn()
isn't unreasonable.  And rely on "skip" to log the omitted test
if w3m is missing, which means we need to update the "&&"
escaping test to be self-referential on the same line.

File::Temp was totally unused, there; and we can use "open ...,undef"
in Perl to easily create anonymous temporary files for use with
spawn().
t/hl_mod.t