]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
Fix pathname filter issue.
authorDave Chinner <dgc@sgi.com>
Thu, 15 May 2008 16:38:14 +0000 (16:38 +0000)
committerDave Chinner <dgc@sgi.com>
Thu, 15 May 2008 16:38:14 +0000 (16:38 +0000)
If the path to the file being bmap'd has a [0-9] in it,
the output filter matches it and we get golden output
failure. Be more specific on the match.
Merge of master-melb:xfs-cmds:31170a by kenmcd.

  Be more specific when trying to match extent output lines.

166

diff --git a/166 b/166
index 1639711ff8bcd7be78f9bca3756a94175ed1a057..0b49380d4f0bf44cfaf2e8816ca8101f1c07fe3b 100644 (file)
--- a/166
+++ b/166
@@ -33,7 +33,7 @@ _cleanup()
 _filter_blocks()
 {
        $AWK_PROG '
-/[0-9]/ {
+/^ +[0-9]/ {
        if (!written_size) {
                written_size = $6
                unwritten1 = ((1048576/512) / 2) - written_size