aboutsummaryrefslogtreecommitdiff
path: root/tests/docker
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2019-09-13 15:38:21 -0400
committerAlex Bennée <alex.bennee@linaro.org>2019-09-26 19:00:53 +0100
commitb3a790be9826d155d03357b5e2d981bcdbd9b86c (patch)
tree7a4c926abb34a85083f88763998d1518d19c3863 /tests/docker
parent529994e20448243c4ad50d8984978d6ad3a01fe9 (diff)
downloadqemu-b3a790be9826d155d03357b5e2d981bcdbd9b86c.zip
qemu-b3a790be9826d155d03357b5e2d981bcdbd9b86c.tar.gz
qemu-b3a790be9826d155d03357b5e2d981bcdbd9b86c.tar.bz2
podman: fix command invocation
Oops; there's no argv here. Signed-off-by: John Snow <jsnow@redhat.com> Message-Id: <20190913193821.17756-1-jsnow@redhat.com> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Cleber Rosa <crosa@redhat.com> Tested-by: Cleber Rosa <crosa@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Tested-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'tests/docker')
-rwxr-xr-xtests/docker/docker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/docker/docker.py b/tests/docker/docker.py
index 3112892..31d8adf 100755
--- a/tests/docker/docker.py
+++ b/tests/docker/docker.py
@@ -332,7 +332,7 @@ class Docker(object):
cmd = [ "-u", str(uid) ] + cmd
# podman requires a bit more fiddling
if self._command[0] == "podman":
- argv.insert(0, '--userns=keep-id')
+ cmd.insert(0, '--userns=keep-id')
ret = self._do_check(["run", "--label",
"com.qemu.instance.uuid=" + label] + cmd,