Actions
Bug #5302
closedncf test of "file_enforce_content" fails on CFEngine 3.6.0 but pass on CFEngine 3.5.2
Bug #5302:
ncf test of "file_enforce_content" fails on CFEngine 3.6.0 but pass on CFEngine 3.5.2
Status:
Released
Priority:
1 (highest)
Assignee:
Category:
Generic methods
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:
Description
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 almost 12 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 ?
Updated by Nicolas PERRON almost 12 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset c72247f2c02ebce3a4107a5b38c976b1dc0199ea.
Updated by Nicolas CHARLES almost 12 years ago
Applied in changeset f24ff5a7d73ed09fa73b1d3195d795c134d0e1d2.
Updated by Vincent MEMBRÉ almost 10 years ago
- Status changed from Pending release to Released
Updated by Alexis Mousset about 4 years ago
- Target version changed from 0.x to ncf-0.x
- Priority set to 0
Updated by Alexis Mousset about 4 years ago
- Project changed from 41 to Rudder
- Category set to Generic methods
Actions