summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorTrevor Bramwell <tbramwell@linuxfoundation.org>2018-04-18 11:52:22 -0700
committerTrevor Bramwell <tbramwell@linuxfoundation.org>2018-04-18 11:54:17 -0700
commitd76ad0acd3c7d3a6e92777ed00b8c65be02c99a3 (patch)
tree3bdf6ac6683791fed279ef64858f6a277a422db4 /jjb
parent0daa411c906dc0e052d991a84c5ef79dc54a898c (diff)
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 <tbramwell@linuxfoundation.org>
Diffstat (limited to 'jjb')
-rwxr-xr-xjjb/apex/apex-unit-test.sh2
1 files changed, 2 insertions, 0 deletions
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