[svn-commits] pabelanger: branch pabelanger/autoload r966 - in /asterisk/team/pabelanger/au...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Nov 25 21:51:10 CST 2010


Author: pabelanger
Date: Thu Nov 25 21:51:06 2010
New Revision: 966

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=966
Log:
Missed a manager test

Added:
    asterisk/team/pabelanger/autoload/tests/manager/event-monitor/configs/ast1/
    asterisk/team/pabelanger/autoload/tests/manager/event-monitor/configs/ast1/manager.conf
      - copied unchanged from r958, asterisk/team/pabelanger/autoload/tests/manager/event-monitor/configs/manager.conf
Removed:
    asterisk/team/pabelanger/autoload/tests/manager/event-monitor/configs/manager.conf
Modified:
    asterisk/team/pabelanger/autoload/tests/manager/event-monitor/run-test

Modified: asterisk/team/pabelanger/autoload/tests/manager/event-monitor/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/pabelanger/autoload/tests/manager/event-monitor/run-test?view=diff&rev=966&r1=965&r2=966
==============================================================================
--- asterisk/team/pabelanger/autoload/tests/manager/event-monitor/run-test (original)
+++ asterisk/team/pabelanger/autoload/tests/manager/event-monitor/run-test Thu Nov 25 21:51:06 2010
@@ -17,6 +17,8 @@
 
 Please see the documentation in the client module for more information.
 """
+workingdir = "/tmp/asterisk-testsuite/manager/event-monitor"
+testdir = "tests/manager/event-monitor"
 
 class Test():
 
@@ -43,14 +45,14 @@
         (options, args) = parser.parse_args(argv)
         working_dir = os.path.dirname(argv[0])
 
-        asterisk = Asterisk(base="/tmp/asterisk-testsuite/manager/event-monitor")
-        asterisk.install_configs("tests/manager/event-monitor/configs")
+        ast1 = Asterisk(base=workingdir)
+        ast1.install_configs("%s/configs/ast1" % (testdir))
 
     logging.basicConfig()
     import client
 
     tester = Test()
-    watcher = client.EventWatcher(argv, asterisk, tester, 5)
+    watcher = client.EventWatcher(argv, ast1, tester, 5)
 
     #watcher.log.setLevel(logging.DEBUG)
     #manager.log.setLevel(logging.DEBUG)




More information about the svn-commits mailing list