Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #7504: Add test for rudder-techniques to ensure removed deprecated techniques don't come back in an erroneous merge #841

Conversation

jooooooon
Copy link
Member

…ted techniques don't come back in an erroneous merge
@jooooooon jooooooon force-pushed the arch_7504/add_test_for_rudder_techniques_to_ensure_removed_deprecated_techniques_don_t_come_back_in_an_erroneous_merge branch from 21f146e to eb7c390 Compare January 12, 2016 15:29
@jooooooon
Copy link
Member Author

PR updated

${REPOSITORY_PATH}/scripts/technique-files -l -i -f '*.cf' -f '*.st' "${REPOSITORY_PATH}" | while read filename
do
if egrep -q "^[^#]*perms\s*=>\s*mog\([^,]+,\s*[^,]+,\s*['\"]root['\"]\)" ${filename}; then
echo "The file ${filename} attempt to use the 'root' group - use '0' instead for UNIX compatibility"
exit 11
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

11 is already used by another test in an upper branch

@peckpeck
Copy link
Member

OK, merging

peckpeck added a commit that referenced this pull request Jan 12, 2016
…techniques_to_ensure_removed_deprecated_techniques_don_t_come_back_in_an_erroneous_merge

Fixes #7504: Add test for rudder-techniques to ensure removed deprecated techniques don't come back in an erroneous merge
@peckpeck peckpeck merged commit de8bda3 into Normation:branches/rudder/2.11 Jan 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants