[asterisk-commits] pabelanger: testsuite/bamboo/trunk r1343 - /bamboo/trunk/bin/build-asterisk.sh

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jan 21 12:57:14 CST 2011


Author: pabelanger
Date: Fri Jan 21 12:57:10 2011
New Revision: 1343

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=1343
Log:
Kill SIPp if it is already running.

Modified:
    bamboo/trunk/bin/build-asterisk.sh

Modified: bamboo/trunk/bin/build-asterisk.sh
URL: http://svnview.digium.com/svn/testsuite/bamboo/trunk/bin/build-asterisk.sh?view=diff&rev=1343&r1=1342&r2=1343
==============================================================================
--- bamboo/trunk/bin/build-asterisk.sh (original)
+++ bamboo/trunk/bin/build-asterisk.sh Fri Jan 21 12:57:10 2011
@@ -245,6 +245,8 @@
 set -e
 
 if [ "${EXTERNAL_TESTS}" = "yes" ]; then
+	#XXX TODO: Ugly, however we need to make sure SIPp is not already running.
+	(killall -9 sipp || :) > /dev/null 2>&1
 	if [ -d testsuite ] ; then
 		rm -rf testsuite
 	fi




More information about the asterisk-commits mailing list