-
Type: Bug
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: 11.4
-
Fix Version/s: None
-
Component/s: Convert
The test AspellTester currently hangs locally, because the aspell commandline configuration for this test is not valid anymore.
The test is skipped on CI because the aspell library is not available on slaves, and the test is skipped in such cases.
Overall, the ccommandline should be fixed. Note the following quick change to the commandline makes the test pass locally:
--- a/modules/core/nuxeo-platform-commandline-executor/src/test/resources/OSGI-INF/commandline-aspell-test-contribs.xml +++ b/modules/core/nuxeo-platform-commandline-executor/src/test/resources/OSGI-INF/commandline-aspell-test-contribs.xml @@ -5,9 +5,9 @@ point="command"> <command name="aspell" enabled="true"> - <commandLine>/usr/bin/aspell</commandLine> + <commandLine>cat</commandLine> <winCommand>C:\Program Files\Aspell\bin\aspell.exe</winCommand> - <parameterString>-a --lang=#{lang} --encoding=#{encoding} -H --rem-sgml-check=alt < #{textFile}</parameterString> + <parameterString>#{textFile} | /usr/bin/aspell -a --lang=#{lang} --encoding=#{encoding} -H --rem-sgml-check=alt</parameterString> <installationDirective>You need to install Aspell in order to use this feature. Please see www.aspell.org.</installationDirective> </command>