ncf test of "file_enforce_content" fails on CFEngine 3.6.0 but pass on CFEngine 3.5.2
The add of a new generic_method "file_enforce_content" prevent ncf to be built since the test of "file_enforce_content" does not work on CFEngine 3.6.0. The error messages are:
R: /tmp/ncf/tests/acceptance/./30_generic_methods/file_enforce_content.cf FAIL R: grep command doesn't return 0 for command: /bin/grep -E "^This is a test line!$" "/tmp/ncf/tests/acceptance/workdir/__30_generic_methods_file_enforce_content_cf/tmp/test_1" R: grep command doesn't return 0 for command: /bin/grep -E "^This is a test line!$" "/tmp/ncf/tests/acceptance/workdir/__30_generic_methods_file_enforce_content_cf/tmp/test_2"
But if it do the same manually:
root@debian-builder-7-64:/tmp/ncf/tests/acceptance# /bin/grep -E '^This is a test line!$' "/tmp/ncf/tests/acceptance/workdir/__30_generic_methods_file_enforce_content_cf/tmp/test_1" This is a test line! root@debian-builder-7-64:/tmp/ncf/tests/acceptance# echo $? 0
Updated by Nicolas PERRON about 8 years ago
- Status changed from New to Pending technical review
- Assignee changed from Nicolas PERRON to Nicolas CHARLES
- % Done changed from 0 to 100
- Pull Request set to https://github.com/Normation/ncf/pull/91
PR URL added: https://github.com/Normation/ncf/pull/91
Nico, could you review it please ?