Bug #8638
closed
The problem is the second test, the difference in the verbose logs:
verbose: Additional promise info: version '1.0' source path '/root/ncf/tests/acceptance/../../tree/20_cfe_basics/ncf_lib.cf' at line 336 comment 'Insert line in section section_test2'
verbose: The promised end pattern '\[.*\]\s*' was not found when selecting region to insert in '/root/ncf/tests/acceptance/workdir/__30_generic_methods_file_ensure_lines_present_in_ini_section_cf/tmp/test2.ini'
(only on 3.9)
Maybe linked to:
EOF is matched as an end of the region in edit_line
promises only if 'select_end_match_eof' parameter is true.
(Jira CFE-2263)
from 3.9 changelog.
That's it! We cannot use select_end_match_eof though as it is not available in 3.7, we have to fix the test.
- Category set to Generic methods
- Status changed from New to In progress
- Status changed from In progress to Pending technical review
- Assignee changed from Alexis Mousset to Nicolas CHARLES
- Pull Request set to https://github.com/Normation/ncf/pull/438
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
- Related to Bug #9070: Conditionnal loading does not work as expected added
- Related to deleted (Bug #9070: Conditionnal loading does not work as expected)
- Status changed from Pending release to Released
This bug has been fixed in ncf version that comes with Rudder 3.1.15/14 and 3.2.8/7 which were released today.
- Related to Bug #18009: File in INI section method does not work as intended added
- Target version changed from 0.x to ncf-0.x
- Priority set to 0
- Project changed from 41 to Rudder
- Category changed from Generic methods to Generic methods
Also available in: Atom
PDF