Skip to content

Commit

Permalink
Merge pull request #615 from peckpeck/bug_5999/tests_on_rudder_techni…
Browse files Browse the repository at this point in the history
…ques_are_wrongly_failing_on_rudder_stdlib_core_st

Fixes #5999: Tests on rudder-techniques are (wrongly) failing on rudder_stdlib_core.st
  • Loading branch information
ncharles committed Dec 15, 2014
2 parents ccc385b + 5dbbf1b commit 28214d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/check-techniques.sh
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ do
done

# check that techniques do not use reports:
${REPOSITORY_PATH}/scripts/technique-files -l -f '*.cf' -f '*.st' "${REPOSITORY_PATH}" | grep -v initial-promises | egrep -v "techniques/system/common/1.0/(rudder_stdlib.st|update.st|promises.st|process_matching.st)|techniques/system/distributePolicy/1.0/rsyslogConf.st" | grep -v cfengine_stdlib | while read filename
${REPOSITORY_PATH}/scripts/technique-files -l -f '*.cf' -f '*.st' "${REPOSITORY_PATH}" | grep -v initial-promises | egrep -v "techniques/system/common/1.0/(rudder_stdlib.st|update.st|promises.st|process_matching.st|rudder_stdlib_core.st)|techniques/system/distributePolicy/1.0/rsyslogConf.st" | grep -v cfengine_stdlib | while read filename
do
if egrep '^[[:space:]]*reports:' "${filename}" >/dev/null; then
echo "The file ${filename} uses reports: instead of rudder_common_report"
Expand Down

0 comments on commit 28214d7

Please sign in to comment.