mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfstests: Remove dependence of xfs_check script
Replace the usage of the script xfs_check and add the relevant code to xfstests. This is in preparation of the planned deprecation of xfs_check. Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com> Reviewed-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Rich Johnston <rjohnston@sgi.com>
This commit is contained in:
committed by
Rich Johnston
parent
2519a97d10
commit
187bccd310
+1
-1
@@ -70,7 +70,7 @@ _print_logstate
|
||||
|
||||
# curious if FS consistent at start
|
||||
if false; then
|
||||
if $XFS_CHECK_PROG $SCRATCH_DEV; then
|
||||
if _xfs_check $SCRATCH_DEV; then
|
||||
echo "*** checked ok ***"
|
||||
fi
|
||||
fi
|
||||
|
||||
Regular → Executable
+1
-1
@@ -113,7 +113,7 @@ done
|
||||
_scratch_unmount
|
||||
# Can xfs_repair and xfs_check cope with this monster?
|
||||
_scratch_xfs_repair >> $seqres.full 2>&1 || _fail "xfs_repair failed"
|
||||
xfs_check $SCRATCH_DEV >> $seqres.full 2>&1 || _fail "xfs_check failed"
|
||||
_xfs_check $SCRATCH_DEV >> $seqres.full 2>&1 || _fail "xfs_check failed"
|
||||
|
||||
# Yes they can! Now...
|
||||
# Can xfs_metadump cope with this monster?
|
||||
|
||||
Reference in New Issue
Block a user