From 58689f8f7512c7000f76cae751334a44a34bc492 Mon Sep 17 00:00:00 2001 From: wangdi Date: Mon, 10 Aug 2009 18:16:01 +0000 Subject: [PATCH] Branch: HEAD 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 | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lustre/tests/test-framework.sh b/lustre/tests/test-framework.sh index 1ad5377..9e0274f 100644 --- a/lustre/tests/test-framework.sh +++ b/lustre/tests/test-framework.sh @@ -2212,12 +2212,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 -- 1.8.3.1