[asterisk-commits] russell: testsuite/asterisk/trunk r375 - /asterisk/trunk/runtests.py

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jun 9 10:35:58 CDT 2010


Author: russell
Date: Wed Jun  9 10:35:55 2010
New Revision: 375

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=375
Log:
In case Asterisk isn't shut down cleanly, clean up /var/run/asterisk/.

Modified:
    asterisk/trunk/runtests.py

Modified: asterisk/trunk/runtests.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/runtests.py?view=diff&rev=375&r1=374&r2=375
==============================================================================
--- asterisk/trunk/runtests.py (original)
+++ asterisk/trunk/runtests.py Wed Jun  9 10:35:55 2010
@@ -234,6 +234,9 @@
             # Establish Preconditions
             print "Making sure Asterisk isn't running ..."
             os.system("killall -9 asterisk > /dev/null 2>&1")
+            # XXX TODO Hard coded path, gross.
+            os.system("rm -f /var/run/asterisk/asterisk.ctl")
+            os.system("rm -f /var/run/asterisk/asterisk.pid")
             os.chdir("..")
             print "Uninstalling Asterisk ... "
             os.system("make uninstall-all > /dev/null 2>&1")




More information about the asterisk-commits mailing list