# XFS QA Test No. 042
# $Id: 042,v 1.2 2000/09/27 00:24:22 ajag Exp ajag $
#
-# fsr.xfs QA tests
-# create a large fragmented file and check that fsr.xfs doesn't corrupt
+# xfs_fsr QA tests
+# create a large fragmented file and check that xfs_fsr doesn't corrupt
# it or the other contents of the filesystem
#
#-----------------------------------------------------------------------
# delete every second 4k file - remaining free space should be fragmented
# use fill2 to generate a very large file - run it until it fails producing a truncated file
# delete the dd-generated file
-# run fsr.xfs on the filesystem
+# run xfs_fsr on the filesystem
# check checksums for remaining files
# create 3 minimum sized (16Mb) allocation groups
_do "umount $SCRATCH_MNT"
_do "mount -t xfs $SCRATCH_DEV $SCRATCH_MNT"
-echo -n "Run fsr.xfs on filesystem... "
-_do "fsr.xfs -v $SCRATCH_DEV"
+echo -n "Run xfs_fsr on filesystem... "
+_do "xfs_fsr -v $SCRATCH_DEV"
echo "done"
_do "xfs_bmap $SCRATCH_MNT/fragmented"
_check_fs $SCRATCH_DEV
echo "done"
# success, all done
-echo "fsr.xfs tests passed."
+echo "xfs_fsr tests passed."
status=0 ; exit
Delete every second file... done
Create one very large file... done
Remove other files... done
-Run fsr.xfs on filesystem... done
+Run xfs_xfs on filesystem... done
Check 4k files... done
Check large file... done
Checking filesystem... done
-fsr.xfs tests passed.
+xfs_fsr tests passed.