Files
apfstests/common
Ari Sundholm 79a3bb053f common/encrypt: Create an encrypted equivalent of _scratch_mkfs_sized
Test case generic/399 hardcodes "-O encrypt" in MKFS_OPTIONS when
calling _scratch_mkfs_sized, which only works with the mkfs of
certain filesystems. Create a new helper,
_scratch_mkfs_sized_encrypted, for handling the differences between
the mkfs tools of different filesystems. It also allows those
filesystems whose mkfs doesn't accept "-O encrypt" to skip the test
gracefully until proper support is added for them in the helper.

ubifs is not supported in the new helper despite supporting
encryption, as _scratch_mkfs_sized has no ubifs support and adding
that should be done in a separate patch.

Signed-off-by: Ari Sundholm <ari@tuxera.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
2017-12-31 20:49:36 +08:00
..
2017-07-24 12:22:18 +08:00
2017-11-26 15:37:22 +08:00
2013-03-26 21:44:05 -05:00
2017-07-28 18:52:12 +08:00
2017-07-28 18:52:12 +08:00
2017-07-28 18:52:12 +08:00
2017-11-03 19:04:49 +08:00
2017-11-03 19:04:49 +08:00
2017-11-26 15:37:22 +08:00
2017-12-24 21:30:58 +08:00