Prioritize tox environment executables for fullstack/functional tests
Otherwise tests will use executables from global paths (f.e. /usr/bin/) when those are available, which doesn't play well with a system that has devstack installed. Change-Id: I3213d5cb570b09d5049b7087cd710337e2698eb3
This commit is contained in:
parent
5d98e30e5c
commit
a77fb4ec26
@ -50,7 +50,7 @@ mkdir -p -m 755 ${dst_rootwrap_path}
|
|||||||
cp -p ${src_rootwrap_path}/* ${dst_rootwrap_path}/
|
cp -p ${src_rootwrap_path}/* ${dst_rootwrap_path}/
|
||||||
cp -p ${src_conf} ${dst_conf}
|
cp -p ${src_conf} ${dst_conf}
|
||||||
sed -i "s:^filters_path=.*$:filters_path=${dst_rootwrap_path}:" ${dst_conf}
|
sed -i "s:^filters_path=.*$:filters_path=${dst_rootwrap_path}:" ${dst_conf}
|
||||||
sed -i "s:^\(exec_dirs=.*\)$:\1,${target_bin_path},${fullstack_path}:" ${dst_conf}
|
sed -i "s:^exec_dirs=\(.*\)$:exec_dirs=${target_bin_path},${fullstack_path},\1:" ${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/use_syslog=False/use_syslog=True/g' ${dst_conf}
|
||||||
|
Loading…
Reference in New Issue
Block a user