mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
check for ipath consistency on TEST_DIR between tests.
Merge of master-melb:xfs-cmds:22780a by kenmcd. check for ipath consistency on TEST_DIR between tests.
This commit is contained in:
@@ -816,6 +816,13 @@ _check_test_fs()
|
||||
TEST_RT="$TEST_RTDEV"
|
||||
|
||||
_check_xfs_filesystem $TEST_DEV $TEST_LOG $TEST_RT
|
||||
|
||||
# check for ipath consistency
|
||||
if $XFS_GROWFS_PROG -n $TEST_DIR | grep -q 'inode-paths=1'; then
|
||||
# errors go to stderr
|
||||
xfs_check_ipaths $TEST_DIR >/dev/null
|
||||
xfs_repair_ipaths -n $TEST_DIR >/dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
_check_scratch_fs()
|
||||
|
||||
Reference in New Issue
Block a user