-
fix(tests): use cat instead of true in wlcopy test to avoid EPIPE
发布于
2026-05-26 17:23:49 +00:00 The wlcopy_helper_succeeds_when_binary_returns_zero test used
trueas a stand-in for wl-copy, buttrueexits immediately
without reading stdin. On Linux CI runners the process exits
before the parent can write to the pipe, producing EPIPE and
failing the is_ok() assertion.Switch to
catwhich reads stdin until EOF (when the pipe is
closed) and then exits 0, faithfully modelling a successful
wl-copy invocation.下载附件