Commit bcd7f06f authored by Alex Bennée's avatar Alex Bennée Committed by Fam Zheng
Browse files

tests/docker/run: don't source /etc/profile



The usual behaviour of /etc/profile is to set the default PATH for
users. This runs into problems when we have updated PATH in our
dockerfile e.g. to access a cross-compiler in a non-standard
location. It shouldn't be needed anyway as we inherit the env from the
image when it was setup.

Signed-off-by: default avatarAlex Bennée <alex.bennee@linaro.org>
CC: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20170926133622.14991-1-alex.bennee@linaro.org>
Reviewed-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: default avatarFam Zheng <famz@redhat.com>
parent 299d296e
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -18,7 +18,6 @@ fi
BASE="$(dirname $(readlink -e $0))"

# Prepare the environment
. /etc/profile
export PATH=/usr/lib/ccache:$PATH

if test -n "$J"; then