Add two smoke tests (the real deal)

This commit is contained in:
Tino Vazquez authored and Tino Vázquez committed 2019-01-31 15:35:11 +01:00
1 parent 612300b191
commit 62bb273dfa
2 files changed
+47

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
# -------------------------------------------------------------------------- #
# Copyright 2002-2019, OpenNebula Project, OpenNebula Systems #
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may #
# not use this file except in compliance with the License. You may obtain #
# a copy of the License at #
# #
# http://www.apache.org/licenses/LICENSE-2.0 #
# #
# Unless required by applicable law or agreed to in writing, software #
# distributed under the License is distributed on an "AS IS" BASIS, #
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
# See the License for the specific language governing permissions and #
# limitations under the License. #
#--------------------------------------------------------------------------- #
# install oned system wide
sudo ./install.sh
# start oned
one start
# check it's up
timeout 60 sh -c 'until nc -z $0 $1; do sleep 1; done' localhost 2633
+21
View File
@@ -0,0 +1,21 @@
# -------------------------------------------------------------------------- #
# Copyright 2002-2019, OpenNebula Project, OpenNebula Systems #
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may #
# not use this file except in compliance with the License. You may obtain #
# a copy of the License at #
# #
# http://www.apache.org/licenses/LICENSE-2.0 #
# #
# Unless required by applicable law or agreed to in writing, software #
# distributed under the License is distributed on an "AS IS" BASIS, #
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
# See the License for the specific language governing permissions and #
# limitations under the License. #
#--------------------------------------------------------------------------- #
# start sunstone
sunstone-server start
# check it's up
timeout 60 sh -c 'until nc -z $0 $1; do sleep 1; done' localhost 9869