xfs
[Top] [All Lists]

[patch] xfsqa 166 - fix filter pathname issue

To: xfs-dev <xfs-dev@xxxxxxx>
Subject: [patch] xfsqa 166 - fix filter pathname issue
From: David Chinner <dgc@xxxxxxx>
Date: Thu, 15 May 2008 11:17:35 +1000
Cc: xfs-oss <xfs@xxxxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
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.

Signed-off-by: Dave Chinner <dgc@xxxxxxx>
---
 xfstests/166 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: xfs-cmds/xfstests/166
===================================================================
--- xfs-cmds.orig/xfstests/166  2008-05-08 09:57:55.000000000 +1000
+++ xfs-cmds/xfstests/166       2008-05-15 09:10:09.890128276 +1000
@@ -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


<Prev in Thread] Current Thread [Next in Thread>