[svn-commits] twilson: testsuite/asterisk/trunk r2981 - /asterisk/trunk/lib/python/asterisk/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Jan 6 14:19:17 CST 2012


Author: twilson
Date: Fri Jan  6 14:19:13 2012
New Revision: 2981

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=2981
Log:
Add the -nostdin option so sipp doesn't hang on stdin input

Modified:
    asterisk/trunk/lib/python/asterisk/sipp.py

Modified: asterisk/trunk/lib/python/asterisk/sipp.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/lib/python/asterisk/sipp.py?view=diff&rev=2981&r1=2980&r2=2981
==============================================================================
--- asterisk/trunk/lib/python/asterisk/sipp.py (original)
+++ asterisk/trunk/lib/python/asterisk/sipp.py Fri Jan  6 14:19:13 2012
@@ -66,7 +66,8 @@
     def run(self):
         sipp_args = [
                 'sipp', '127.0.0.1',
-                '-sf', '%s/sipp/%s' % (self.test_dir, self.scenario['scenario'])
+                '-sf', '%s/sipp/%s' % (self.test_dir, self.scenario['scenario']),
+                '-nostdin'
         ]
         default_args = {
             '-p' : self.default_port,
@@ -163,7 +164,8 @@
     def __run_sipp(self, scenario, default_port):
         sipp_args = [
                 'sipp', '127.0.0.1',
-                '-sf', '%s/sipp/%s' % (self.test_dir, scenario['scenario'])
+                '-sf', '%s/sipp/%s' % (self.test_dir, scenario['scenario']),
+                '-nostdin'
         ]
         default_args = {
             '-p' : default_port,




More information about the svn-commits mailing list