From ac0abd5dad6e1247581b580a86ae78d11282d447 Mon Sep 17 00:00:00 2001 From: Nathan Scott Date: Tue, 28 Mar 2006 06:04:20 +0000 Subject: [PATCH] Handle parent pointer attribute namespace in test 021 attr filtering. Merge of master-melb:xfs-cmds:25581a by kenmcd. --- 021 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/021 b/021 index fc3c0075..496d80b8 100755 --- a/021 +++ b/021 @@ -111,7 +111,7 @@ _attr -g "a3" $testfile.2 | tail -3 | wc -c | sed -e "s/^ *//" echo "" inum_2=`ls -li $testfile.2 | $AWK_PROG '{ print $1 }'` - + echo "*** unmount FS" umount $SCRATCH_DEV >>$seq.full 2>&1 \ || _fail "umount failed" @@ -119,13 +119,14 @@ umount $SCRATCH_DEV >>$seq.full 2>&1 \ echo "*** dump attributes (1)" xfs_db -r -c "inode $inum_1" -c "print a.sfattr" $SCRATCH_DEV | \ - sed -e '/secure = /d' + sed -e '/secure = /d' | sed -e '/parent = /d' echo "*** dump attributes (2)" xfs_db -r -c "inode $inum_2" -c "a a.bmx[0].startblock" -c print $SCRATCH_DEV \ | perl -ne ' -s/root,secure,local/root,local/; +s/,secure//; +s/,parent//; 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..]/; -- 2.30.2