Merge "Add oslo rootwrap daemon logging during functional tests"

This commit is contained in:
Jenkins 2015-09-08 19:21:50 +00:00 committed by Gerrit Code Review
commit aa1c040a20
1 changed files with 2 additions and 0 deletions

View File

@ -51,6 +51,8 @@ sed -i "s:^filters_path=.*$:filters_path=${dst_rootwrap_path}:" ${dst_conf}
sed -i "s:^\(exec_dirs=.*\)$:\1,${target_bin_path}:" ${dst_conf} sed -i "s:^\(exec_dirs=.*\)$:\1,${target_bin_path}:" ${dst_conf}
if [[ "$OS_SUDO_TESTING" = "1" ]]; then if [[ "$OS_SUDO_TESTING" = "1" ]]; then
sed -i 's/use_syslog=False/use_syslog=True/g' ${dst_conf}
sed -i 's/syslog_log_level=ERROR/syslog_log_level=DEBUG/g' ${dst_conf}
cp -p ${neutron_path}/neutron/tests/contrib/functional-testing.filters \ cp -p ${neutron_path}/neutron/tests/contrib/functional-testing.filters \
${dst_rootwrap_path}/ ${dst_rootwrap_path}/
fi fi