]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
schedule_suite.sh: default email to ceph-qa@ceph.com
authorSage Weil <sage@inktank.com>
Sun, 1 Sep 2013 15:48:41 +0000 (08:48 -0700)
committerSage Weil <sage@inktank.com>
Sun, 1 Sep 2013 15:48:41 +0000 (08:48 -0700)
Signed-off-by: Sage Weil <sage@inktank.com>
schedule_suite.sh

index 4b8b206422c745c86297a4cb9049410caffd4f0c..efd32c1eb11c5e197e129eecfc1dbbb2a559ad18 100755 (executable)
@@ -10,14 +10,14 @@ mtype=$7
 template=$8
 distro=$9
 
-if [ -z "$email" ]; then
-    echo "usage: $0 <suite> <ceph branch> <kernel branch> <email> [flavor] [teuthology-branch] [machinetype] [template] [distro]"
+if [ -z "$kernel" ]; then
+    echo "usage: $0 <suite> <ceph branch> <kernel branch> [email] [flavor] [teuthology-branch] [machinetype] [template] [distro]"
     echo "  flavor can be 'basic', 'gcov', 'notcmalloc'."
     exit 1
 fi
 
+[ -z "$email" ] && email='ceph-qa@ceph.com'
 [ -z "$flavor" ] && flavor='basic'
-
 [ -z "$distro" ] && distro='ubuntu'
 
 if [ "$kernel" = "-" ]