From: John Snow Date: Fri, 13 Sep 2019 19:38:21 +0000 (-0400) Subject: podman: fix command invocation X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b3a790be9826d155d03357b5e2d981bcdbd9b86c;p=qemu.git podman: fix command invocation Oops; there's no argv here. Signed-off-by: John Snow Message-Id: <20190913193821.17756-1-jsnow@redhat.com> Signed-off-by: Alex Bennée Reviewed-by: Cleber Rosa Tested-by: Cleber Rosa Reviewed-by: Thomas Huth Tested-by: Thomas Huth --- diff --git a/tests/docker/docker.py b/tests/docker/docker.py index 3112892fdf..31d8adf836 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,