Commit 755c5fe7 authored by Nir Soffer's avatar Nir Soffer Committed by Max Reitz
Browse files

iotests: Unify cache mode quoting



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: default avatarNir Soffer <nsoffer@redhat.com>
Signed-off-by: default avatarMax Reitz <mreitz@redhat.com>
parent 2cc4d1c5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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.
+2 −2
Original line number Diff line number Diff line
@@ -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

+1 −1
Original line number Diff line number Diff line
@@ -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
+2 −2
Original line number Diff line number Diff line
@@ -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