Whamcloud - gitweb
b=20698
authorgrev <grev>
Thu, 1 Oct 2009 21:27:03 +0000 (21:27 +0000)
committergrev <grev>
Thu, 1 Oct 2009 21:27:03 +0000 (21:27 +0000)
i=Robert.Read
new base for new test_[a-z] tests

lustre/tests/test-framework.sh

index 73513ef..beb9b40 100644 (file)
@@ -2294,7 +2294,11 @@ build_test_filter() {
 }
 
 basetest() {
-    echo ${1%%[a-z]*}
+    if [[ $1 = [a-z]* ]]; then
+        echo $1
+    else
+        echo ${1%%[a-z]*}
+    fi
 }
 
 # print a newline if the last test was skipped