public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] xfsqa 166 - fix filter pathname issue
@ 2008-05-15  1:17 David Chinner
  2008-05-15  6:04 ` Christoph Hellwig
  0 siblings, 1 reply; 2+ messages in thread
From: David Chinner @ 2008-05-15  1:17 UTC (permalink / raw)
  To: xfs-dev; +Cc: xfs-oss

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [patch] xfsqa 166 - fix filter pathname issue
  2008-05-15  1:17 [patch] xfsqa 166 - fix filter pathname issue David Chinner
@ 2008-05-15  6:04 ` Christoph Hellwig
  0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2008-05-15  6:04 UTC (permalink / raw)
  To: David Chinner; +Cc: xfs-dev, xfs-oss

On Thu, May 15, 2008 at 11:17:35AM +1000, David Chinner wrote:
> 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.

Looks good.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-05-15  6:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-15  1:17 [patch] xfsqa 166 - fix filter pathname issue David Chinner
2008-05-15  6:04 ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox