summaryrefslogtreecommitdiffstats
path: root/tools/functional_tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/functional_tests.sh')
-rw-r--r--tools/functional_tests.sh18
1 files changed, 17 insertions, 1 deletions
diff --git a/tools/functional_tests.sh b/tools/functional_tests.sh
index 4b79bf6..f31647d 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()