Merge "Proper passing of SUDO flag for neutron functional tests"

This commit is contained in:
Jenkins 2014-06-30 23:33:23 +00:00 committed by Gerrit Code Review
commit 8ddb0cd30a

View File

@ -24,12 +24,11 @@
function post_test_hook {{
$BASE/new/devstack/unstack.sh
export OS_SUDO_TESTING=1
cd $BASE/new/neutron
# Run tests as the stack user to allow sudo.
sudo chown -R stack:stack $BASE/new/neutron
echo "Running neutron functional test suite"
sudo -H -u stack tox -e functional
sudo -H -u stack OS_SUDO_TESTING=1 tox -e functional
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh