Merge "Add fedora support for apply-test.sh"

This commit is contained in:
Jenkins 2015-08-05 19:24:00 +00:00 committed by Gerrit Code Review
commit 35c7dc3de7
2 changed files with 4 additions and 0 deletions

View File

@ -802,6 +802,7 @@ node 'single-use-slave-bare' {
# Node-OS: centos6
# Node-OS: centos7
# Node-OS: fedora21
# Node-OS: precise
# Node-OS: trusty
# This is not meant to be an actual node that connects to the master.

View File

@ -79,6 +79,9 @@ if [[ `lsb_release -i -s` == 'CentOS' ]]; then
fi
elif [[ `lsb_release -i -s` == 'Ubuntu' ]]; then
CODENAME=`lsb_release -c -s`
elif [[ `lsb_release -i -s` == 'Fedora' ]]; then
REL=`lsb_release -r -s`
CODENAME="fedora$REL"
fi
FOUND=0