From: Sage Weil Date: Thu, 29 Aug 2013 04:54:26 +0000 (-0700) Subject: schedule_suite.sh: allow partial 'suite' names X-Git-Tag: 1.1.0~1922 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ef85facbcfa7e41d08236f7de2b4fb3818449d77;p=teuthology.git schedule_suite.sh: allow partial 'suite' names Mangle the name (/ -> :) in the run name. Separate base from relative path so that the job names don't include a full path. Signed-off-by: Sage Weil --- diff --git a/schedule_suite.sh b/schedule_suite.sh index 909b1ab84..4b8b20642 100755 --- a/schedule_suite.sh +++ b/schedule_suite.sh @@ -118,12 +118,14 @@ fi ## stamp=`date +%Y-%m-%d_%H:%M:%S` -name=`whoami`"-$stamp-$suite-$ceph-$kernel-$flavor-$mtype" +nicesuite=`echo $suite | sed 's/\//:/g'` +name=`whoami`"-$stamp-$nicesuite-$ceph-$kernel-$flavor-$mtype" echo "name $name" ./virtualenv/bin/teuthology-suite -v $fn \ - --collections ~/src/ceph-qa-suite/suites/$suite/* \ + --base ~/src/ceph-qa-suite/suites \ + --collections $suite \ --email $email \ --timeout 36000 \ --name $name \