mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
218: support btrfs
Btrfs progs has a defragment tool, so we can test 218 on btrfs now. Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
committed by
Christoph Hellwig
parent
929221ba9b
commit
1aab95f5b2
@@ -44,7 +44,7 @@ _cleanup()
|
||||
. ./common.defrag
|
||||
|
||||
# real QA test starts here
|
||||
_supported_fs xfs ext4
|
||||
_supported_fs xfs ext4 btrfs
|
||||
_supported_os Linux
|
||||
|
||||
_setup_testdir
|
||||
|
||||
@@ -29,6 +29,9 @@ _require_defrag()
|
||||
ext4|ext4dev)
|
||||
DEFRAG_PROG=/usr/bin/e4defrag
|
||||
;;
|
||||
btrfs)
|
||||
DEFRAG_PROG="$BTRFS_UTIL_PROG filesystem defragment"
|
||||
;;
|
||||
*)
|
||||
_notrun "defragmentation not supported for fstype \"$FSTYP\""
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user