Update several QA tests, configure magic in xfstests directory.

Fix up filters to handle additional xfs_db output.
This commit is contained in:
Nathan Scott
2004-01-19 04:51:52 +00:00
parent 9d8399fbe1
commit ada6e653fa
6 changed files with 25 additions and 35 deletions
+3 -1
View File
@@ -139,7 +139,8 @@ umount $SCRATCH_DEV >>$seq.full 2>&1 \
echo "*** dump attributes (1)"
xfs_db -r -c "inode $inum_1" -c "print a.sfattr" $SCRATCH_DEV
xfs_db -r -c "inode $inum_1" -c "print a.sfattr" $SCRATCH_DEV | \
sed -e '/secure = /d'
echo "*** dump attributes (2)"
@@ -148,6 +149,7 @@ xfs_db -r -c "inode $inum_2" -c "a a.bmx[0].startblock" -c print $SCRATCH_DEV \
s/^(hdr.firstused =) (\d+)/\1 FIRSTUSED/;
s/^(hdr.freemap\[0-2] = \[base,size]).*/\1 [FREEMAP..]/;
s/^(entries\[0-2] = \[hashval,nameidx,incomplete,root,local]).*/\1 [ENTRIES..]/;
s/^(entries\[0-2] = \[hashval,nameidx,incomplete,root,secure,local]).*/\1 [ENTRIES..]/;
print;'
echo "*** done"