summaryrefslogtreecommitdiff
path: root/tests/btrfs/098
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@redhat.com>2015-10-14 14:08:42 +1100
committerDave Chinner <david@fromorbit.com>2015-10-14 14:08:42 +1100
commit50266c22dc82e3f279c8a587408c8893a8e69de4 (patch)
tree94ee9a681a9133b62ee488ac95e4382d700170ce /tests/btrfs/098
parent7f0a867ce6838c9ce5bee715075374a3e629cb1a (diff)
generic: _require_dm_target() helper
generic/085 was failing on a machine w/o devicemapper kernel support because it requires the linear target, but didn't explicitly test for it. I could have cut & pasted _require_dm_linear(), but chose to go the route of a generic helper, _require_dm_target $FOO, because some day someone will need the zero target, the error target, or who knows. Add the helper, use it in test generic/085, and convert _require_dm_flakey, _require_dm_snapshot, and _dmerror_required with this new helper. Reported-by: Angelo Dureghello <angelo.dureghello@nomovok.com> Signed-off-by: Eric Sandeen <sandeen@redhat.com> Reviewed-by: Eryu Guan <eguan@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'tests/btrfs/098')
-rwxr-xr-xtests/btrfs/0982
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/btrfs/098 b/tests/btrfs/098
index c412c73b..f12df5f5 100755
--- a/tests/btrfs/098
+++ b/tests/btrfs/098
@@ -48,7 +48,7 @@ _need_to_be_root
_supported_fs btrfs
_supported_os Linux
_require_scratch
-_require_dm_flakey
+_require_dm_target flakey
_require_cloner
_require_metadata_journaling $SCRATCH_DEV