Code Review
/
openstack-build
/
ceilometer-build.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fixed firewalld-related code in test script
[openstack-build/ceilometer-build.git]
/
tests
/
runtests.sh
diff --git
a/tests/runtests.sh
b/tests/runtests.sh
index 6c3cb7ba4c36c2add3903eab5908a83416624a54..163281e1223f5c76c3e6e3f8b76d7679f80d082c 100755
(executable)
--- a/
tests/runtests.sh
+++ b/
tests/runtests.sh
@@
-58,7
+58,8
@@
if [[ `cat /etc/*-release | head -n 1 | awk '{print $1}'` =~ Ubuntu ]]; then
policy.json
)
else
policy.json
)
else
- setenforce 0 && service firewalld stop
+ setenforce 0 || :
+ service firewalld stop || :
os="centos"
packages_list="python-pip curl"
command_to_install="yum install -y"
os="centos"
packages_list="python-pip curl"
command_to_install="yum install -y"