diff options
Diffstat (limited to 'tools/functional_tests.sh')
-rw-r--r-- | tools/functional_tests.sh | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/tools/functional_tests.sh b/tools/functional_tests.sh index 155978b..20d5cd8 100644 --- a/tools/functional_tests.sh +++ b/tools/functional_tests.sh @@ -1,11 +1,27 @@ #!/bin/bash +# Copyright (c) 2013 Red Hat, Inc. +# +# 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. + + cleanup() { sudo service memcached stop sudo swift-init main stop sudo yum -y remove glusterfs-openstack-swift - sudo rm -rf /etc/swift > /dev/null 2>&1 + sudo rm -rf /etc/swift > /dev/null 2>&1 } quit() |