[asterisk-dev] [Code Review] Testsuite: new install_configs() function and ability for backwards compatible configs

paul.belanger at polybeacon.com paul.belanger at polybeacon.com
Sun Aug 1 07:16:26 CDT 2010


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/831/
-----------------------------------------------------------

(Updated 2010-08-01 07:16:26.384012)


Review request for Asterisk Developers.


Changes
-------

v4:
Fixed typo and code formatting.


Summary
-------

Add the ability to specify a config directory to be installed.  Everything within the directory, except the .svn, branch-1.4, branch-1.6.2 and branch-1.8 directories, will be copied over.

Also includes in functionality for backwards compatible config files.  If a sub-directory is found to be the same as the running instance, it will use that version of .config file.

IE:
configs/sip.conf
configs/branch-1.4/sip.conf


---
Installs all files located in the configuration directory for this instance of Asterisk.


Diffs (updated)
-----

  asterisk/trunk/tests/sip_attended_transfer/configs/branch-1.4/sip.conf PRE-CREATION 
  asterisk/trunk/tests/iax-call-basic/run-test 627 
  asterisk/trunk/tests/sip_attended_transfer/configs/sip.conf 627 
  asterisk/trunk/lib/python/asterisk/asterisk.py 627 

Diff: https://reviewboard.asterisk.org/r/831/diff


Testing
-------

Updated iax-call-basic to use the new function, and test passed as expected.


Thanks,

pabelanger




More information about the asterisk-dev mailing list