From 0c663ca84e75751eb930016516e1b18cee37acdb Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 12 Feb 2013 21:24:16 -0800 Subject: [PATCH] schedule_suite.sh: ensure ceph and kernel branches exist Signed-off-by: Sage Weil --- schedule_suite.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/schedule_suite.sh b/schedule_suite.sh index daa4c9d786..7aeaa81abb 100755 --- a/schedule_suite.sh +++ b/schedule_suite.sh @@ -24,6 +24,9 @@ test ! -d ~/src/teuthology/virtualenv/bin && echo "error: expects to find ~/src/ KERNEL_SHA1=`wget http://gitbuilder.ceph.com/kernel-deb-precise-x86_64-basic/ref/$kernel/sha1 -O- 2>/dev/null` CEPH_SHA1=`wget http://gitbuilder.ceph.com/ceph-tarball-precise-x86_64-$flavor/ref/$ceph/sha1 -O- 2>/dev/null` +[ -z "$KERNEL_SHA1" ] && echo "kernel branch $kernel dne" && exit 1 +[ -z "$CEPH_SHA1" ] && echo "ceph branch $ceph dne" && exit 1 + if wget http://github.com/ceph/s3-tests/tree/$ceph -O- 2>/dev/null >/dev/null ; then s3branch=$ceph else -- 2.39.5