aboutsummaryrefslogtreecommitdiffstats
path: root/test/csit/plans/so/sanity-check/teardown.sh
diff options
context:
space:
mode:
authorc00149107 <chenchuanyu@huawei.com>2017-08-02 17:34:11 +0800
committerc00149107 <chenchuanyu@huawei.com>2017-08-02 17:34:11 +0800
commite283bd2822ddff64e05473d786b0e17479c13e1a (patch)
tree62a027b29195ee99b5d4e2fedd5e8df92254f690 /test/csit/plans/so/sanity-check/teardown.sh
parent9fa943bd8217c2ad2ad95a1ec07043a16def19b0 (diff)
Add so csit test
Add so csit test Change-Id: I965032a0385721b539c1fbf0d045e32ff600e4b1 Issue-ID:SO-74 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
Diffstat (limited to 'test/csit/plans/so/sanity-check/teardown.sh')
-rw-r--r--test/csit/plans/so/sanity-check/teardown.sh24
1 files changed, 24 insertions, 0 deletions
diff --git a/test/csit/plans/so/sanity-check/teardown.sh b/test/csit/plans/so/sanity-check/teardown.sh
new file mode 100644
index 000000000..5cd82b7e2
--- /dev/null
+++ b/test/csit/plans/so/sanity-check/teardown.sh
@@ -0,0 +1,24 @@
+#!/bin/bash
+#
+# Copyright 2016-2017 Huawei Technologies Co., Ltd.
+#
+# 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.
+#
+
+#copy the logs files
+docker cp so:/service/logs/lifecyclemgr.log ${SCRIPTS}/../../../archives
+# kill micro service
+kill-instance.sh i-msb
+kill-instance.sh so
+
+