]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/cephtool: convert FS_NAME to local variable
authorliuchang0812 <liuchang0812@gmail.com>
Mon, 22 May 2017 02:23:54 +0000 (10:23 +0800)
committerliuchang0812 <liuchang0812@gmail.com>
Fri, 26 May 2017 02:27:26 +0000 (10:27 +0800)
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
qa/workunits/cephtool/test.sh

index 01401601021d69bcc362ea2d696a1c53e439ea47..afb6dbc9e124fe01626209051e244026c288b1b6 100755 (executable)
@@ -788,7 +788,7 @@ function without_test_dup_command()
 
 function test_mds_tell()
 {
-  FS_NAME=cephfs
+  local FS_NAME=cephfs
   if ! mds_exists ; then
       echo "Skipping test, no MDS found"
       return
@@ -834,7 +834,7 @@ function test_mds_tell()
 
 function test_mon_mds()
 {
-  FS_NAME=cephfs
+  local FS_NAME=cephfs
   remove_all_fs
 
   ceph osd pool create fs_data 10
@@ -2053,7 +2053,7 @@ function test_osd_tell_help_command()
 
 function test_mds_tell_help_command()
 {
-  FS_NAME=cephfs
+  local FS_NAME=cephfs
   if ! mds_exists ; then
       echo "Skipping test, no MDS found"
       return