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 #17950: testing loop should report an error when rudderc does #3131

Conversation

gpoblon
Copy link
Contributor

@gpoblon gpoblon commented Jul 20, 2020

@gpoblon gpoblon requested a review from peckpeck July 20, 2020 16:39
${cfjson_tester} ncf-to-json --config-file=${config_file} "${technique_path}" "${technique}.json" && status=${status}+1 \
&& ${rudderc} --config-file=${config_file} --translate -s "${technique}.json" && status=${status}+1 \
&& ${rudderc} --config-file=${config_file} -s "${technique}.rl" && status=${status}+1 \
&& ${cfjson_tester} ncf-to-json --config-file="${config_file}" "${technique}.rl.cf" "${technique}.rl.cf.json" && status=${status}+1 \
Copy link
Member

Choose a reason for hiding this comment

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

status=${status}+1 it not proper shell you must write
status=$((${status}+1)) or status=$((status+1))

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

@gpoblon
Copy link
Contributor Author

gpoblon commented Jul 23, 2020

PR updated with a new commit

@Normation-Quality-Assistant
Copy link
Contributor

This PR is not mergeable to upper versions.
Since it is "Ready for merge" you must merge it by yourself using the following command:
rudder-dev merge https://github.com/Normation/rudder/pull/3131
-- Your faithful QA
Kant merge: "It is beyond a doubt that all our knowledge begins with experience."
(https://ci.normation.com/jenkins/job/merge-accepted-pr/27984/console)

@gpoblon
Copy link
Contributor Author

gpoblon commented Jul 23, 2020

OK, squash merging this PR

@gpoblon gpoblon force-pushed the bug_17950/testing_loop_should_report_an_error_when_rudderc_does branch from a3a9c20 to cb6994e Compare July 23, 2020 13:01
@gpoblon gpoblon merged commit cb6994e into Normation:branches/rudder/6.1 Jul 23, 2020
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants