[asterisk-commits] pabelanger: testsuite/asterisk/trunk r1295 - in /asterisk/trunk/tests/mixmoni...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Dec 23 04:59:51 UTC 2010


Author: pabelanger
Date: Wed Dec 22 22:59:47 2010
New Revision: 1295

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=1295
Log:
Decrease file size check, and remove unused sounds

Removed:
    asterisk/trunk/tests/mixmonitor_audiohook_inherit/sounds/
Modified:
    asterisk/trunk/tests/mixmonitor_audiohook_inherit/run-test

Modified: asterisk/trunk/tests/mixmonitor_audiohook_inherit/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/mixmonitor_audiohook_inherit/run-test?view=diff&rev=1295&r1=1294&r2=1295
==============================================================================
--- asterisk/trunk/tests/mixmonitor_audiohook_inherit/run-test (original)
+++ asterisk/trunk/tests/mixmonitor_audiohook_inherit/run-test Wed Dec 22 22:59:47 2010
@@ -26,7 +26,7 @@
         self.passed = False
         self.last_step = ""
         # if audiohook inherit does not work, file will be much smaller than 150000 bytes
-        self.expectedfilesize = 150000
+        self.expectedfilesize = 120000
         self.audiofile1size = -1
 
         # get version info
@@ -41,7 +41,6 @@
         self.ast1 = Asterisk(base=workingdir)
         self.ast1.install_configs("%s/configs/ast1" % (testdir))
         self.audiofile1 = os.path.join(os.getcwd(), "%s/testaudio1" % (testdir))
-        self.talkingaudio = os.path.join(os.getcwd(), "%s/sounds/talking" % (testdir))
 
     def stop_reactor(self):
         print "Stopping Reactor ..."
@@ -101,10 +100,8 @@
 
         if self.ast_version < AsteriskVersion("1.6.1"):
             self.ast1.cli_exec("core set global TESTAUDIO1 " + self.audiofile1)
-            self.ast1.cli_exec("core set global TALK_AUDIO " + self.talkingaudio)
         else:
             self.ast1.cli_exec("dialplan set global TESTAUDIO1 " + self.audiofile1)
-            self.ast1.cli_exec("dialplan set global TALK_AUDIO " + self.talkingaudio)
 
     def stop_asterisk(self):
         self.ast1.stop()




More information about the asterisk-commits mailing list