mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
generic/554: hide permision warning on exfat
Signed-off-by: Pavel Reichl <preichl@redhat.com> Reviewed-by: Eryu Guan <guaneryu@gmail.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
@@ -2425,6 +2425,13 @@ _format_swapfile() {
|
||||
$MKSWAP_PROG "$fname" 2> >(grep -v 'insecure permission' >&2) >> $seqres.full
|
||||
}
|
||||
|
||||
_swapon_file() {
|
||||
local fname="$1"
|
||||
|
||||
# Ignore permission complaints on filesystems that don't support perms
|
||||
swapon "$fname" 2> >(grep -v "insecure permissions" >&2)
|
||||
}
|
||||
|
||||
# Check that the filesystem supports swapfiles
|
||||
_require_scratch_swapfile()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user