summaryrefslogtreecommitdiffstats
path: root/tests/docker
diff options
context:
space:
mode:
authorAlex Bennée2017-09-26 15:36:22 +0200
committerFam Zheng2017-09-29 05:14:15 +0200
commitbcd7f06f57fb6f780a3e2f7a46c22b6f6c8238aa (patch)
tree9ce07a0b63809c0264d8f9fed01c6dc28c1d3cb8 /tests/docker
parentdocker: Fix test-mingw (diff)
downloadqemu-bcd7f06f57fb6f780a3e2f7a46c22b6f6c8238aa.tar.gz
qemu-bcd7f06f57fb6f780a3e2f7a46c22b6f6c8238aa.tar.xz
qemu-bcd7f06f57fb6f780a3e2f7a46c22b6f6c8238aa.zip
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: Alex Bennée <alex.bennee@linaro.org> CC: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20170926133622.14991-1-alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Fam Zheng <famz@redhat.com>
Diffstat (limited to 'tests/docker')
-rwxr-xr-xtests/docker/run1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/docker/run b/tests/docker/run
index 0fd2f358ce..642084bcb8 100755
--- a/tests/docker/run
+++ b/tests/docker/run
@@ -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