Re: [PATCH V2] xfstests: Fix test wildcard expansion.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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@xxxxxxx>
---
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@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs




[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux