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
+2
-2
@@ -120,11 +120,11 @@ _check()
|
||||
if [ $expect -eq 0 ]
|
||||
then
|
||||
_echo " *** xfs_check ($LOG/check_clean.out)"
|
||||
xfs_check $TEST_DEV &> $LOG/check_clean.out || fail=1
|
||||
_xfs_check $TEST_DEV &> $LOG/check_clean.out || fail=1
|
||||
[ -s /tmp/xfs_check_clean.out ] && fail=1
|
||||
else
|
||||
_echo " *** xfs_check ($LOG/check_dirty.out)"
|
||||
xfs_check $TEST_DEV &> $LOG/check_dirty.out || fail=1
|
||||
_xfs_check $TEST_DEV &> $LOG/check_dirty.out || fail=1
|
||||
fi
|
||||
|
||||
if [ $fail -eq 0 -a $expect -eq 0 ]
|
||||
|
||||
Reference in New Issue
Block a user