Fix up QA for xfsprogs 2.9.x

Merge of master-melb:xfs-cmds:29298a by kenmcd.

  Golden output is slightly wrong for xfs_repair 2.9.2+
This commit is contained in:
Barry Naujok
2007-08-02 06:20:02 +00:00
parent f9ab891b3a
commit 47ce499d64
2 changed files with 11 additions and 10 deletions
+3 -2
View File
@@ -119,6 +119,7 @@ xfs_inode_t
xfs_inode_log_item_t
xfs_log_iovec_t
xfs_log_callback_t
xfs_metablock_t
xfs_mount_t
xfs_sb_t
xfs_log_item_t
@@ -151,9 +152,9 @@ cat /usr/include/xfs/xfs*.h | indent |\
awk '
/typedef struct xfs_sb/ { structon = 1; next }
structon && $2 ~ /^sb_/ { sub(/[;,]/,"",$2)
print "printf(\"offsetof(xfs_sb_t,", $2, ") = %d\\n\", offsetof(xfs_sb_t,", $2, "));"; next}
print "printf(\"offsetof(xfs_sb_t,", $2, ") = %d\\n\", offsetof(xfs_sb_t,", $2, "));"; next}
structon && /}/ { structon = 0; next}
'>>$cprog
'>>$cprog
echo 'return 0; }' >>$cprog