From: Trevor Bramwell Date: Wed, 18 Apr 2018 18:52:22 +0000 (-0700) Subject: Ensure PATH has /usr/sbin/ for Apex Unit Tests X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F11%2F56011%2F1;p=releng.git Ensure PATH has /usr/sbin/ for Apex Unit Tests Due to python-iptables calling out to ldconfig, we need to ensure /usr/sbin is available when running the Apex unit tests. Change-Id: I77fd4dedd6e7ad3c3831a1d181a5406d53a0e76e Signed-off-by: Trevor Bramwell --- diff --git a/jjb/apex/apex-unit-test.sh b/jjb/apex/apex-unit-test.sh index 3112c9d36..3f15847f2 100755 --- a/jjb/apex/apex-unit-test.sh +++ b/jjb/apex/apex-unit-test.sh @@ -7,6 +7,8 @@ echo "Starting unit tests for Apex..." echo "---------------------------------------------------------------------------------------" echo +PATH=$PATH:/usr/sbin + pushd build/ > /dev/null for pkg in yamllint rpmlint iproute epel-release python34-devel python34-nose python34-PyYAML python-pep8 python34-mock python34-pip; do