diff options
author | Max Reitz <mreitz@redhat.com> | 2015-09-25 19:19:24 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2015-10-02 13:48:29 +0200 |
commit | bb3c801df7ed454b663312326bc29c8b9c2e4de6 (patch) | |
tree | f1b2f1c5bcd54e3acc4e247b553c6a2850c0def9 /cpus.c | |
parent | 552bb52c4bf199ae9c038570187749b93c91310a (diff) | |
download | qemu-bb3c801df7ed454b663312326bc29c8b9c2e4de6.zip qemu-bb3c801df7ed454b663312326bc29c8b9c2e4de6.tar.gz qemu-bb3c801df7ed454b663312326bc29c8b9c2e4de6.tar.bz2 |
iotests: Fix test 128 for password-less sudo
As of 934659c460d46c948cf348822fda1d38556ed9a4, $QEMU_IO is generally no
longer a program name, and therefore "sudo -n $QEMU_IO" will no longer
work.
Fix this by copying the qemu-io invocation function from common.config,
making it use $sudo for invoking $QEMU_IO_PROG, and then use that
function instead of $QEMU_IO.
Reported-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'cpus.c')
0 files changed, 0 insertions, 0 deletions