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

Russell Bryant russell at digium.com
Sat Jul 31 23:33:32 CDT 2010


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


Nice addition, just a couple of small things to tweak


asterisk/trunk/lib/python/asterisk/asterisk.py
<https://reviewboard.asterisk.org/r/831/#comment5539>

    Add a blank line before the new function.



asterisk/trunk/tests/iax-call-basic/run-test
<https://reviewboard.asterisk.org/r/831/#comment5541>

    shouldn't these changes be to the install_configs() function?


- Russell


On 2010-07-31 22:57:59, pabelanger wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/831/
> -----------------------------------------------------------
> 
> (Updated 2010-07-31 22:57:59)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> 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
> -----
> 
>   asterisk/trunk/lib/python/asterisk/asterisk.py 627 
>   asterisk/trunk/tests/iax-call-basic/run-test 627 
>   asterisk/trunk/tests/sip_attended_transfer/configs/branch-1.4/sip.conf PRE-CREATION 
>   asterisk/trunk/tests/sip_attended_transfer/configs/sip.conf 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