]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Update schedule_rados.sh
authorYuri Weinstein <yuri.weinstein@gmail.com>
Thu, 12 Nov 2015 18:12:05 +0000 (10:12 -0800)
committerYuri Weinstein <yuri.weinstein@gmail.com>
Thu, 12 Nov 2015 18:12:05 +0000 (10:12 -0800)
Fixed the args order

machine_types/schedule_rados.sh

index c209e2f2b871e75a2ee1c513f20830fa1ba8e92d..3aef851f2ed51b9b4ad8015870c4e3242896b868 100755 (executable)
@@ -3,8 +3,8 @@
 # $1 - part
 # $2 - branch name
 # $3 - machine name
-# $4 - filter out
-# $5 - email address
+# $4 - email address
+# $5 - filter out (this arg is to be at the end of the command line for now)
 
 ## example #1 
 ## (date +%U) week number
@@ -20,4 +20,4 @@
 ## $1 day of the week (0-6)
 ## /28 for 4 weeks
 
-teuthology-suite -v -c $2 -m $3 -k distro -s rados --subset $(echo "(($(date +%U) % 4) * 7) + $1" | bc)/28 $4 -e $5
+teuthology-suite -v -c $2 -m $3 -k distro -s rados --subset $(echo "(($(date +%U) % 4) * 7) + $1" | bc)/28 -e $4 $5