aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/178
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2019-11-07 17:36:58 +0100
committerMax Reitz <mreitz@redhat.com>2020-01-06 13:43:07 +0100
commit10b612565ca96c7d660b3a77fa7cfb9dc3a0c9d0 (patch)
treec4cb2713efa07a5eedabe8325df5bb787a3c437b /tests/qemu-iotests/178
parent407fb56a8e10982d6e04b7a73e0c2cea3bed88b9 (diff)
iotests: Replace IMGOPTS='' by --no-opts
Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com> Message-id: 20191107163708.833192-13-mreitz@redhat.com Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/178')
-rwxr-xr-xtests/qemu-iotests/1784
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/qemu-iotests/178 b/tests/qemu-iotests/178
index 21231cadd3..75b5e8f314 100755
--- a/tests/qemu-iotests/178
+++ b/tests/qemu-iotests/178
@@ -62,8 +62,8 @@ $QEMU_IMG measure -O foo "$TEST_IMG" # unknown image file format
make_test_img_with_fmt() {
# Shadow global variables within this function
- local IMGFMT="$1" IMGOPTS=""
- _make_test_img "$2"
+ local IMGFMT="$1"
+ _make_test_img --no-opts "$2"
}
qemu_io_with_fmt() {