mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
Fixed merge problems
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#! /bin/sh
|
||||
# XFS QA Test No. 042
|
||||
# FS QA Test No. 042
|
||||
#
|
||||
# xfs_fsr QA tests
|
||||
# create a large fragmented file and check that xfs_fsr doesn't corrupt
|
||||
@@ -60,6 +60,8 @@ trap "_cleanup ; exit \$status" 0 1 2 3 15
|
||||
. ./common.filter
|
||||
|
||||
# real QA test starts here
|
||||
_supported_fs xfs
|
||||
_supported_os IRIX Linux
|
||||
|
||||
_require_scratch
|
||||
|
||||
@@ -137,7 +139,7 @@ _do "sum $SCRATCH_MNT/fragmented >$tmp.sum1"
|
||||
_do "Remove other files" "rm -rf $SCRATCH_MNT/{pad,hole*}"
|
||||
|
||||
# defragment
|
||||
_do "Run xfs_fsr on filesystem" "xfs_fsr -v $SCRATCH_DEV"
|
||||
_do "Run xfs_fsr on filesystem" "$XFS_FSR_PROG -v $SCRATCH_DEV"
|
||||
_do "xfs_bmap -v $SCRATCH_MNT/fragmented"
|
||||
_do "Check 4k files" "src/fill2fs_check $tmp.manifest"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user