All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Chinner <dgc@sgi.com>
To: xfs-dev <xfs-dev@sgi.com>
Cc: xfs-oss <xfs@oss.sgi.com>
Subject: [patch] xfsqa 166 - fix filter pathname issue
Date: Thu, 15 May 2008 11:17:35 +1000	[thread overview]
Message-ID: <20080515011735.GL155679365@sgi.com> (raw)

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@sgi.com>
---
 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

             reply	other threads:[~2008-05-15  1:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-15  1:17 David Chinner [this message]
2008-05-15  6:04 ` [patch] xfsqa 166 - fix filter pathname issue Christoph Hellwig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080515011735.GL155679365@sgi.com \
    --to=dgc@sgi.com \
    --cc=xfs-dev@sgi.com \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.