]> git.proxmox.com Git - mirror_qemu.git/commitdiff
iotests: Unify cache mode quoting
authorNir Soffer <nirsof@gmail.com>
Tue, 27 Aug 2019 17:34:32 +0000 (20:34 +0300)
committerMax Reitz <mreitz@redhat.com>
Tue, 3 Sep 2019 12:56:06 +0000 (14:56 +0200)
Quoting cache mode is not needed, and most tests use unquoted values.
Unify all test to use the same style.

Message-id: 20190827173432.7656-1-nsoffer@redhat.com
Signed-off-by: Nir Soffer <nsoffer@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
tests/qemu-iotests/026
tests/qemu-iotests/039
tests/qemu-iotests/052
tests/qemu-iotests/091

index e30243608b9263ab228efa131817009ace155a34..ffb18ab6b5adfc9aa3acf9329bf75a073851beb5 100755 (executable)
@@ -41,8 +41,8 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 # Currently only qcow2 supports rebasing
 _supported_fmt qcow2
 _supported_proto file
-_default_cache_mode "writethrough"
-_supported_cache_modes "writethrough" "none"
+_default_cache_mode writethrough
+_supported_cache_modes writethrough none
 # The refcount table tests expect a certain minimum width for refcount entries
 # (so that the refcount table actually needs to grow); that minimum is 16 bits,
 # being the default refcount entry width.
index 0d4e963bd4b63daf17e2db9ac6f4f953c26ba4c6..7c730d94a734c369c4f9e1c0ad980da917ec4355 100755 (executable)
@@ -42,8 +42,8 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 _supported_fmt qcow2
 _supported_proto file
 _supported_os Linux
-_default_cache_mode "writethrough"
-_supported_cache_modes "writethrough"
+_default_cache_mode writethrough
+_supported_cache_modes writethrough
 
 size=128M
 
index 6e2ecbfe2143f55d6c6e0b12e1b7077eb4da8046..45a140910da12b043f441fbaed66c1fe913bc02e 100755 (executable)
@@ -40,7 +40,7 @@ _supported_fmt generic
 _supported_proto file
 
 # Don't do O_DIRECT on tmpfs
-_supported_cache_modes "writeback" "writethrough" "unsafe"
+_supported_cache_modes writeback writethrough unsafe
 
 size=128M
 _make_test_img $size
index d62ef18a02a6bfb46da0914a1fdc281411455df1..f4b44659aed283644c35c709e2cd39ac84714ac6 100755 (executable)
@@ -46,8 +46,8 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 _supported_fmt qcow2
 _supported_proto file
 _supported_os Linux
-_default_cache_mode "none"
-_supported_cache_modes "writethrough" "none" "writeback"
+_default_cache_mode none
+_supported_cache_modes writethrough none writeback
 
 size=1G