aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas Mateus Castro (alqotel) <lucas.araujo@eldorado.org.br>2022-09-29 12:41:44 +0100
committerAlex Bennée <alex.bennee@linaro.org>2022-10-06 11:53:20 +0100
commitf0c67a79ef7acce9305092f685da5d15c03502b4 (patch)
tree4e5c5bc46070be30ef860e226566f63a38394fd0
parent556ede028d5b1dba6d88dc0cd34ab9b96fa59288 (diff)
downloadqemu-f0c67a79ef7acce9305092f685da5d15c03502b4.zip
qemu-f0c67a79ef7acce9305092f685da5d15c03502b4.tar.gz
qemu-f0c67a79ef7acce9305092f685da5d15c03502b4.tar.bz2
tests/docker: run script use realpath instead of readlink
The alpine docker image only comes with busybox, which doesn't have the '-e' option on its readlink, so change it to 'realpath' to avoid that problem. Suggested-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Lucas Mateus Castro (alqotel) <lucas.araujo@eldorado.org.br> Message-Id: <20220922135516.33627-5-lucas.araujo@eldorado.org.br> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20220929114231.583801-5-alex.bennee@linaro.org>
-rwxr-xr-xtests/docker/run2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/docker/run b/tests/docker/run
index 4213930..9eb96129 100755
--- a/tests/docker/run
+++ b/tests/docker/run
@@ -15,7 +15,7 @@ if test -n "$V"; then
set -x
fi
-BASE="$(dirname $(readlink -e $0))"
+BASE="$(dirname $(realpath $0))"
# Prepare the environment
export PATH=/usr/lib/ccache:/usr/lib64/ccache:$PATH