xfstests: fix typo in check
authorEryu Guan <eguan@redhat.com>
Wed, 29 May 2013 13:12:44 +0000 (08:12 -0500)
committerRich Johnston <rjohnston@sgi.com>
Wed, 29 May 2013 13:12:44 +0000 (08:12 -0500)
There is no $testname, should be $test_name

Signed-off-by: Eryu Guan <eguan@redhat.com>
Reviewed-by: Rich Johnston <rjohnston@sgi.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
check

diff --git a/check b/check
index a79747ecabad70d6016da415b31b7e30df018ca0..8d324860f5e9c5e4ac1cf2ef2dcfd4dc39cb39d5 100755 (executable)
--- 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