summaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/083
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2014-05-24 23:24:58 +0200
committerKevin Wolf <kwolf@redhat.com>2014-06-27 20:00:00 +0200
commitea81ca9de1354e9f42c4e09ead2af1b4d010bdde (patch)
tree83cbc3f7e5e756ba6195a2c6eede6a372158c141 /tests/qemu-iotests/083
parent7fed1a49ff72a5b794e3723612fa1731844b38f7 (diff)
downloadqemu-ea81ca9de1354e9f42c4e09ead2af1b4d010bdde.tar.gz
iotests: Use $PYTHON for Python scripts
Instead of invoking Python scripts directly via ./, use $PYTHON to obtain the correct Python interpreter command. Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Fam Zheng <famz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/083')
-rwxr-xr-xtests/qemu-iotests/0832
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemu-iotests/083 b/tests/qemu-iotests/083
index f764534782..b7ba8608e4 100755
--- a/tests/qemu-iotests/083
+++ b/tests/qemu-iotests/083
@@ -81,7 +81,7 @@ EOF
nbd_url="nbd:127.0.0.1:$port:exportname=foo"
fi
- ./nbd-fault-injector.py $extra_args "127.0.0.1:$port" "$TEST_DIR/nbd-fault-injector.conf" 2>&1 >/dev/null &
+ $PYTHON nbd-fault-injector.py $extra_args "127.0.0.1:$port" "$TEST_DIR/nbd-fault-injector.conf" 2>&1 >/dev/null &
wait_for_tcp_port "127.0.0.1:$port"
$QEMU_IO -c "read 0 512" "$nbd_url" 2>&1 | _filter_qemu_io | filter_nbd