1 Apr 2012 01:28
[PATCH] 030: fix for new xfs_repair versions
Christoph Hellwig <hch <at> infradead.org>
2012-03-31 23:28:36 GMT
2012-03-31 23:28:36 GMT
Given that we now drop invalid unlinked inode lists there is no message to capture. Also add a sed expression to avoid failures on old repair versions. Signed-off-by: Christoph Hellwig <hch <at> lst.de> Index: xfstests-dev/030 =================================================================== --- xfstests-dev.orig/030 2012-03-31 23:15:11.000000000 +0000 +++ xfstests-dev/030 2012-03-31 23:18:31.000000000 +0000 <at> <at> -55,7 +55,8 <at> <at> _check_ag() for structure in 'sb 0' 'agf 0' 'agi 0' 'agfl 0' do echo "Corrupting $structure - setting bits to $1" - _check_repair $1 "$structure" + _check_repair $1 "$structure" | + sed -e 's/error following ag 0 unlinked list//' done } <at> <at> -97,8 +98,7 <at> <at> src/devzero -v -1 -n "$clear" $SCRATCH_D # now kick off the real repair test... # -_scratch_mkfs_xfs $DSIZE | _filter_mkfs | \ - sed -e 's/error following ag 0 unlinked list//' 2>$tmp.mkfs +_scratch_mkfs_xfs $DSIZE | _filter_mkfs 2>$tmp.mkfs . $tmp.mkfs _check_ag 0 _check_ag -1(Continue reading)
RSS Feed