Whamcloud - gitweb
Branch b1_8
authorwangdi <wangdi>
Sat, 8 Aug 2009 13:27:30 +0000 (13:27 +0000)
committerwangdi <wangdi>
Sat, 8 Aug 2009 13:27:30 +0000 (13:27 +0000)
Fix for basetest to avoid skipping test like test_300ca when
runing sanity with ONLY=300
b=20385
o=adilger (patch from Andreas)
i=wangdi

lustre/tests/test-framework.sh

index 2ae8e8f..d73a8ad 100644 (file)
@@ -1949,12 +1949,8 @@ build_test_filter() {
        done
 }
 
-_basetest() {
-    echo $*
-}
-
 basetest() {
-    IFS=abcdefghijklmnopqrstuvwxyz _basetest $1
+    echo ${1%%[a-z]*}
 }
 
 # print a newline if the last test was skipped