| commit | 1fef36e526727b6057ba0d54049e07260a49b1f4 | [log] [tgz] |
|---|---|---|
| author | Jenkins <jenkins@review.openstack.org> | Fri Mar 14 14:33:24 2014 +0000 |
| committer | Gerrit Code Review <review@openstack.org> | Fri Mar 14 14:33:24 2014 +0000 |
| tree | beb24529697b03f52c9ed9112c63f2ea7b24838d | |
| parent | bcc885d88d4e43fa547b92ac6430e5891c50f2d5 [diff] | |
| parent | f5d2a5ceb4030aa0868b11ef84b5055b70693702 [diff] |
Merge "test for adding crazy branches"
diff --git a/run_tests.sh b/run_tests.sh index a0bfbee..685b203 100755 --- a/run_tests.sh +++ b/run_tests.sh
@@ -27,3 +27,16 @@ echo "Running bash8..." ./tools/bash8.py -v $FILES + + +# Test that no one is trying to land crazy refs as branches + +echo "Ensuring we don't have crazy refs" + +REFS=`grep BRANCH stackrc | grep -v -- '-master'` +rc=$? +if [[ $rc -eq 0 ]]; then + echo "Branch defaults must be master. Found:" + echo $REFS + exit 1 +fi