[PATCH] xfstests: fix typo in check

Eryu Guan eguan at redhat.com
Mon May 20 12:51:59 CDT 2013


There is no $testname, should be $test_name

Signed-off-by: Eryu Guan <eguan at redhat.com>
---
 check | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/check b/check
index a79747e..8d32486 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 "^$testname" $group_file >/dev/null ; then
+			if grep "^$test_name" $group_file >/dev/null ; then
 				# in group file ... OK
 				echo $SRC_DIR/$1 >>$tmp.list
 			else
-- 
1.8.1



More information about the xfs mailing list