]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfs/111: fix golden output
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 18 Dec 2018 20:35:50 +0000 (12:35 -0800)
committerEryu Guan <guaneryu@gmail.com>
Sat, 22 Dec 2018 14:08:05 +0000 (22:08 +0800)
commit4ee8c0c855b5d35b5bde714244f65ab363816c36
tree058707b5972f904b2156e5748a615e3e478e2a3d
parent3a9ba205f2db2eb190b084274311eea17c2194c9
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>
tests/xfs/111
tests/xfs/111.out