tests/docker: better handle symlinked libs
authorAlex Bennée <alex.bennee@linaro.org>
Mon, 3 Feb 2020 09:09:17 +0000 (09:09 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 4 Feb 2020 17:13:28 +0000 (17:13 +0000)
commit5e33f7fead59e072506a81df8ca3119a4d84f736
treed74093c865ee63965f35cf66a9aed87489276220
parent698a71edbed64473ae239de29bf76ef61b5f8115
tests/docker: better handle symlinked libs

When we are copying we want to ensure we grab the first
resolution (the found in path section). However even that binary might
be a symlink so lets make sure we chase the symlinks to copy the right
binary to where it can be found.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Robert Foley <robert.foley@linaro.org>
Message-Id: <20200203090932.19147-3-alex.bennee@linaro.org>
tests/docker/docker.py