Skip to contentSkip to conversation

generic: mark tests that require O_DIRECT

PATCH New Theodore Ts'o 1 participant 1 message Jun 9, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 generic: mark tests that require O_DIRECT

generic/094 and generic/225 use fiemap-tester, which requires O_DIRECT.

generic/311 requests fsync-tester to use O_DIRECT

---
 tests/generic/094 | 1 +
 tests/generic/225 | 1 +
 tests/generic/311 | 1 +
 3 files changed, 3 insertions(+)
tests/generic/094 +1 -0
index a51738a..005de1d 100755
@@ -44,6 +44,7 @@ _cleanup()
 _supported_fs generic
 _supported_os Linux
 _require_scratch
+_require_odirect
 _require_xfs_io_command "fiemap"
 _require_xfs_io_command "falloc"
 
tests/generic/225 +1 -0
index c8e0f64..5285e68 100755
@@ -44,6 +44,7 @@ _cleanup()
 _supported_fs generic
 _supported_os Linux
 _require_scratch
+_require_odirect
 _require_xfs_io_command "fiemap"
 
 _scratch_mkfs > /dev/null 2>&1
tests/generic/311 +1 -0
index 2d4413b..d510204 100755
@@ -54,6 +54,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 _supported_fs generic
 _supported_os Linux
 _require_scratch_nocheck
+_require_odirect
 _require_dm_target flakey
 _require_metadata_journaling $SCRATCH_DEV
 
Signature · 1 line
2.5.0