xfs/128: use $XFS_FSR_PROG instead of xfs_fsr directly
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 17 Jun 2016 01:47:55 +0000 (18:47 -0700)
committerEryu Guan <eguan@redhat.com>
Thu, 7 Jul 2016 04:24:13 +0000 (12:24 +0800)
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/xfs/128

index 68f6f94a54164231394bf47495c30df51b9c35ca..8758d7e06f6e14f866df5f6f0e1e10e94a58d303 100755 (executable)
@@ -97,10 +97,10 @@ c14=$(_md5_checksum $testdir/file4)
 
 echo "Defragment"
 lsattr -l $testdir/ | _filter_scratch | _filter_spaces
-xfs_fsr -v -d $testdir/file1 >> $seqres.full
-xfs_fsr -v -d $testdir/file2 >> $seqres.full # fsr probably breaks the link
-xfs_fsr -v -d $testdir/file3 >> $seqres.full # fsr probably breaks the link
-xfs_fsr -v -d $testdir/file4 >> $seqres.full # fsr probably ignores this file
+$XFS_FSR_PROG -v -d $testdir/file1 >> $seqres.full
+$XFS_FSR_PROG -v -d $testdir/file2 >> $seqres.full # fsr probably breaks the link
+$XFS_FSR_PROG -v -d $testdir/file3 >> $seqres.full # fsr probably breaks the link
+$XFS_FSR_PROG -v -d $testdir/file4 >> $seqres.full # fsr probably ignores this file
 _test_cycle_mount
 free_blocks3=$(stat -f $testdir -c '%f')