Merge "test for adding crazy branches"
This commit is contained in:
commit
1fef36e526
13
run_tests.sh
13
run_tests.sh
@ -27,3 +27,16 @@ fi
|
|||||||
echo "Running bash8..."
|
echo "Running bash8..."
|
||||||
|
|
||||||
./tools/bash8.py -v $FILES
|
./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
|
||||||
|
Loading…
Reference in New Issue
Block a user