Repository: camel
Updated Branches:
  refs/heads/master 51dc21cd3 -> 42a582f87


Add script to kill karaf containers which the itest can leave behind


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/42a582f8
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/42a582f8
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/42a582f8

Branch: refs/heads/master
Commit: 42a582f8741114092bbe002762255b20272d2fdc
Parents: 51dc21c
Author: Claus Ibsen <davscl...@apache.org>
Authored: Sun Mar 13 10:46:58 2016 +0100
Committer: Claus Ibsen <davscl...@apache.org>
Committed: Sun Mar 13 10:47:43 2016 +0100

----------------------------------------------------------------------
 tests/camel-itest-karaf/kill-karaf.sh | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/42a582f8/tests/camel-itest-karaf/kill-karaf.sh
----------------------------------------------------------------------
diff --git a/tests/camel-itest-karaf/kill-karaf.sh 
b/tests/camel-itest-karaf/kill-karaf.sh
new file mode 100755
index 0000000..cec2b33
--- /dev/null
+++ b/tests/camel-itest-karaf/kill-karaf.sh
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+## ---------------------------------------------------------------------------
+## Licensed to the Apache Software Foundation (ASF) under one or more
+## contributor license agreements.  See the NOTICE file distributed with
+## this work for additional information regarding copyright ownership.
+## The ASF licenses this file to You 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.
+## ---------------------------------------------------------------------------
+
+echo "Killing all karaf processes"
+jps -l | grep karaf | cut -d ' ' -f 1 | xargs -n1 kill -kill
\ No newline at end of file

Reply via email to