diff options
author | Philippe Mathieu-Daudé | 2021-02-02 14:39:46 +0100 |
---|---|---|
committer | Alex Bennée | 2021-02-08 10:41:00 +0100 |
commit | 4d8f630915c0b3d5de430c10797d0be1c12a2b2c (patch) | |
tree | 729f46933dab2f1bc6c39a92af823cf804a8e6fd | |
parent | tests/acceptance: Increase the timeout in the replay tests (diff) | |
download | qemu-4d8f630915c0b3d5de430c10797d0be1c12a2b2c.tar.gz qemu-4d8f630915c0b3d5de430c10797d0be1c12a2b2c.tar.xz qemu-4d8f630915c0b3d5de430c10797d0be1c12a2b2c.zip |
tests/docker: Fix _get_so_libs() for docker-binfmt-image
Fix a variable rename mistake from commit 5e33f7fead5:
Traceback (most recent call last):
File "./tests/docker/docker.py", line 710, in <module>
sys.exit(main())
File "./tests/docker/docker.py", line 706, in main
return args.cmdobj.run(args, argv)
File "./tests/docker/docker.py", line 489, in run
_copy_binary_with_libs(args.include_executable,
File "./tests/docker/docker.py", line 149, in _copy_binary_with_libs
libs = _get_so_libs(src)
File "./tests/docker/docker.py", line 123, in _get_so_libs
libs.append(s.group(1))
NameError: name 's' is not defined
Fixes: 5e33f7fead5 ("tests/docker: better handle symlinked libs")
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210119050149.516910-1-f4bug@amsat.org>
Message-Id: <20210202134001.25738-2-alex.bennee@linaro.org>
-rwxr-xr-x | tests/docker/docker.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/docker/docker.py b/tests/docker/docker.py index 884dfeb29c..0b4f6167b3 100755 --- a/tests/docker/docker.py +++ b/tests/docker/docker.py @@ -120,7 +120,7 @@ def _get_so_libs(executable): search = ldd_re.search(line) if search: try: - libs.append(s.group(1)) + libs.append(search.group(1)) except IndexError: pass except subprocess.CalledProcessError: |