mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfs/111: fix golden output
In commit f4eee5126, this test was changed to run xfs_fsr to
bulkstat its way through the filesystem until it finds the corrupt
inode. The golden output was changed to capture xfs_fsr's output,
but neglects the fact that when fsr's output is not a tty, all the
status and error messages are sent to syslog, not stdout.
Therefore, this test consistently fails because it expects output of
"$SCRATCH_MNT start inode=0" but this never appears.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
committed by
Eryu Guan
parent
3a9ba205f2
commit
4ee8c0c855
+1
-1
@@ -58,7 +58,7 @@ _try_scratch_mount || _fail "Couldn't mount after itrash"
|
||||
|
||||
echo Attempting bulkstat
|
||||
#src/bstat -q $SCRATCH_MNT
|
||||
$XFS_FSR_PROG $SCRATCH_MNT | _filter_scratch
|
||||
$XFS_FSR_PROG -g $SCRATCH_MNT | _filter_scratch
|
||||
|
||||
# Fix up intentional corruption so test can pass
|
||||
_scratch_unmount
|
||||
|
||||
@@ -10,4 +10,3 @@ Blat inode clusters
|
||||
Starting overwrite
|
||||
Overwrite complete
|
||||
Attempting bulkstat
|
||||
SCRATCH_MNT start inode=0
|
||||
|
||||
Reference in New Issue
Block a user