use the real fsr binary.

This commit is contained in:
Nathan Scott
2001-02-24 03:53:46 +00:00
parent 34802d5827
commit 27f1f5d7a7
2 changed files with 8 additions and 8 deletions
+6 -6
View File
@@ -2,8 +2,8 @@
# 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
#
#-----------------------------------------------------------------------
@@ -101,7 +101,7 @@ _do()
# 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
@@ -145,8 +145,8 @@ echo "done"
_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"
@@ -170,5 +170,5 @@ echo -n "Checking filesystem... "
_check_fs $SCRATCH_DEV
echo "done"
# success, all done
echo "fsr.xfs tests passed."
echo "xfs_fsr tests passed."
status=0 ; exit
+2 -2
View File
@@ -6,8 +6,8 @@ Use up any further available space using dd... done
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.