public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Rich Johnston <rjohnston@sgi.com>
To: xfstests <xfs@oss.sgi.com>
Subject: Re: [PATCH V2] xfstests: Fix test wildcard expansion.
Date: Thu, 30 May 2013 17:32:48 -0500	[thread overview]
Message-ID: <51A7D390.3040108@sgi.com> (raw)
In-Reply-To: <51A7CC6B.3030607@sgi.com>


Before commit 38d58591 "xfstests: fix typo in check",
check xfs/[0-9]?? would execute all tests/xfs/[0-9]?? because:

Change to use egrep to fix the parsing.

Signed-off-by: Rich Johnston <rjohnston@sgi.com>
---
V1-V2
Use egrep instead of my bulky method

diff --git a/check b/check
index 8d32486..ff8fbcf 100755
--- a/check
+++ b/check
@@ -242,7 +242,7 @@ if $have_test_arg; then
  			test_name=`basename $1`
  			group_file=$SRC_DIR/$test_dir/group

-			if grep "^$test_name" $group_file >/dev/null ; then
+			if egrep "^$test_name" $group_file >/dev/null ; then
  				# in group file ... OK
  				echo $SRC_DIR/$1 >>$tmp.list
  			else


_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

  parent reply	other threads:[~2013-05-30 22:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-30 22:02 [PATCH] xfstests: Fix test wildcard expansion Rich Johnston
2013-05-30 22:12 ` Dave Chinner
2013-05-30 22:32 ` Rich Johnston [this message]
2013-05-30 22:38   ` [PATCH V2] " Dave Chinner
2013-05-31 12:10     ` Rich Johnston

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=51A7D390.3040108@sgi.com \
    --to=rjohnston@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox