Whamcloud - gitweb
LU-12823 tests: basetest to remove A-Z in test name 22/36322/3
authorAlex Zhuravlev <bzzz@whamcloud.com>
Mon, 30 Sep 2019 11:07:03 +0000 (14:07 +0300)
committerOleg Drokin <green@whamcloud.com>
Tue, 12 Nov 2019 04:07:01 +0000 (04:07 +0000)
this is required for bash5, otherwise test_mkdir() fails:
test-framework.sh: line 8640: 24A: value too great for
 base (error token is "24A")

Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
Change-Id: Ic2ab4c1530099fbbb57d12f06fbdc761c251ce58
Reviewed-on: https://review.whamcloud.com/36322
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Nunez <jnunez@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/tests/test-framework.sh

index 537a041..207c0e0 100755 (executable)
@@ -6207,7 +6207,7 @@ basetest() {
     if [[ $1 = [a-z]* ]]; then
         echo $1
     else
     if [[ $1 = [a-z]* ]]; then
         echo $1
     else
-        echo ${1%%[a-z]*}
+       echo ${1%%[a-zA-Z]*}
     fi
 }
 
     fi
 }