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

lustre/tests/test-framework.sh

index b369f05..4da98e7 100644 (file)
@@ -2009,7 +2009,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