[svn-commits] russell: testsuite/asterisk/trunk r263 - in /asterisk/trunk/tests: ami-login/...
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Thu Apr 29 10:56:58 CDT 2010
Author: russell
Date: Thu Apr 29 10:56:55 2010
New Revision: 263
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=263
Log:
Limit path length for temporary Asterisk instances.
When running deep within a dir tree, things start failing because of a name length
limitation for unix sockets. Thanks to twilson for figuring this out during the
development of his CDR tests.
Modified:
asterisk/trunk/tests/ami-login/run-test
asterisk/trunk/tests/iax-call-basic/run-test
Modified: asterisk/trunk/tests/ami-login/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/ami-login/run-test?view=diff&rev=263&r1=262&r2=263
==============================================================================
--- asterisk/trunk/tests/ami-login/run-test (original)
+++ asterisk/trunk/tests/ami-login/run-test Thu Apr 29 10:56:55 2010
@@ -28,8 +28,7 @@
reactor.callWhenRunning(self.run)
print "Creating Asterisk instance ..."
- self.asterisk = Asterisk(base=os.path.join(os.getcwd(),
- "tests/ami-login/tmp"))
+ self.asterisk = Asterisk(base="/tmp/asterisk-testsuite/ami-login")
self.asterisk.install_config("tests/ami-login/configs/manager.conf")
self.asterisk.install_config("tests/ami-login/configs/logger.conf")
Modified: asterisk/trunk/tests/iax-call-basic/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/iax-call-basic/run-test?view=diff&rev=263&r1=262&r2=263
==============================================================================
--- asterisk/trunk/tests/iax-call-basic/run-test (original)
+++ asterisk/trunk/tests/iax-call-basic/run-test Thu Apr 29 10:56:55 2010
@@ -39,15 +39,13 @@
print "Creating Asterisk instances ..."
- self.asterisk = Asterisk(base=os.path.join(os.getcwd(),
- "tests/iax-call-basic/tmp/"))
+ self.asterisk = Asterisk(base="/tmp/asterisk-testsuite/iax-call-basic")
self.asterisk.install_config("tests/iax-call-basic/configs/manager.conf")
self.asterisk.install_config("tests/iax-call-basic/configs/logger.conf")
self.asterisk.install_config("tests/iax-call-basic/configs/extensions.conf")
self.asterisk.install_config("tests/iax-call-basic/configs/iax.conf")
- self.asterisk2 = Asterisk(base=os.path.join(os.getcwd(),
- "tests/iax-call-basic/tmp/"))
+ self.asterisk2 = Asterisk(base="/tmp/asterisk-testsuite/iax-call-basic")
self.asterisk2.install_config("tests/iax-call-basic/configs2/manager.conf")
self.asterisk2.install_config("tests/iax-call-basic/configs2/logger.conf")
self.asterisk2.install_config("tests/iax-call-basic/configs2/extensions.conf")
More information about the svn-commits
mailing list