f2fs/015,016: add missing _require_scratch checks
PATCH 1/1 f2fs/015,016: add missing _require_scratch checks
Both tests run _scratch_mkfs in a loop without first requiring a scratch device, so they fail messily instead of skipping when no scratch device is configured.
Signed-off-by Prabhakar Pujeri <[email protected]>
--- tests/f2fs/015 | 1 + tests/f2fs/016 | 1 + 2 files changed, 2 insertions(+)
tests/f2fs/015 +1 -0
@@ -12,6 +12,7 @@ _begin_fstest auto quick mount _require_kernel_config CONFIG_F2FS_FS_XATTR _require_kernel_config CONFIG_F2FS_FS_POSIX_ACL _require_kernel_config CONFIG_F2FS_FAULT_INJECTION +_require_scratch options=( # mount_option mkfs_option
tests/f2fs/016 +1 -0
@@ -15,6 +15,7 @@ _require_kernel_config CONFIG_F2FS_FS_LZORLE _require_kernel_config CONFIG_F2FS_FS_LZ4 _require_kernel_config CONFIG_F2FS_FS_LZ4HC _require_kernel_config CONFIG_F2FS_FS_ZSTD +_require_scratch options=( # mount_option mkfs_option
Signature · 1 line
2.55.0
Oh, there's one more "add _require_scratch" related patch :)
Quoted 1 line · Prabhakar Pujeri
Both tests run
_scratch_mkfsin a loop without first requiring a scratch device, so they fail messily instead of skipping when no scratch device is configured.
This line is too long. I can help to change that when I merge it. Or *if you have more* similar patches, I can wait for your next combined patch or patchset.
Reviewed-by Zorro Lang <[email protected]>
Quoted 34 lines
Signed-off-by Prabhakar Pujeri <[email protected]>--- tests/f2fs/015 | 1 + tests/f2fs/016 | 1 + 2 files changed, 2 insertions(+)tests/f2fs/015 +1
-0@@ -12,6 +12,7 @@ _begin_fstest auto quick mount _require_kernel_config CONFIG_F2FS_FS_XATTR _require_kernel_config CONFIG_F2FS_FS_POSIX_ACL _require_kernel_config CONFIG_F2FS_FAULT_INJECTION +_require_scratch options=( # mount_option mkfs_optiontests/f2fs/016 +1
-0@@ -15,6 +15,7 @@ _require_kernel_config CONFIG_F2FS_FS_LZORLE _require_kernel_config CONFIG_F2FS_FS_LZ4 _require_kernel_config CONFIG_F2FS_FS_LZ4HC _require_kernel_config CONFIG_F2FS_FS_ZSTD +_require_scratch options=( # mount_option mkfs_optionSignature · 1 line
2.55.0