From d76ad0acd3c7d3a6e92777ed00b8c65be02c99a3 Mon Sep 17 00:00:00 2001 From: Trevor Bramwell Date: Wed, 18 Apr 2018 11:52:22 -0700 Subject: 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 --- jjb/apex/apex-unit-test.sh | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit 1.2.3-korg