xfs
[Top] [All Lists]

[PATCH] xfstests: fix typo in check

To: xfs@xxxxxxxxxxx
Subject: [PATCH] xfstests: fix typo in check
From: Eryu Guan <eguan@xxxxxxxxxx>
Date: Tue, 21 May 2013 01:51:59 +0800
Cc: Eryu Guan <eguan@xxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
There is no $testname, should be $test_name

Signed-off-by: Eryu Guan <eguan@xxxxxxxxxx>
---
 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

<Prev in Thread] Current Thread [Next in Thread>