https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8027

--- Comment #2 from Sidney Markowitz <sid...@sidney.com> ---
Created attachment 5837
  --> https://bz.apache.org/SpamAssassin/attachment.cgi?id=5837&action=edit
Skip tests in extracttext.t if executable is in a path with a space

The underlying cause is that sub helper_app_pipe_open in Utils.pm fails when
the path of the helper app contains a space. This sub is currently used in DCC,
Pyzor and ExtractText plugins.

The requirement that there can't be spaces in the paths for dcc, pyzor, and any
application used in the configuration for extracttext is good enough for the
4.0.0 release. However, to avoid test failures in GitHub actions, where the
Windows runner has a cat.exe in a subdirectory of C:\Program Files that is in
PATH, this patch is only in the t/extracttext.t test file, and skips tests if
the executable that is found has a space in the path.

As this patch is only for the test, it can be committed for the 4.0.0 release
without an RTC vote.

I'll open a new enhancement issue for after 4.0.0 for supporting executables
with space in the path in sub helper_app_pipe_open.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to