[asterisk-dev] [Code Review] 3329: AGI Exit Status Test

Benjamin Keith Ford reviewboard at asterisk.org
Tue Mar 11 14:54:43 CDT 2014


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

Review request for Asterisk Developers.


Bugs: ASTERISK-19167
    https://issues.asterisk.org/jira/browse/ASTERISK-19167


Repository: testsuite


Description
-------

Notes:
- Is a sub-task of ASTERISK-19167
- Ignore userA directory; will be removed from repository

This test runs through a few different AGI scripts to verify that AGISTATUS returns the correct values:
1. Attempts to run an AGI script that does not exist. AGISTATUS returns NOTFOUND.
2. Attempts to run an AGI script that has an invalid path. AGISTATUS returns FAILURE.
3. Attempts to run an AGI script that has a non-executable interpreter. AGISTATUS returns FAILURE.
4. Attempts to run an AGI script that is non-executable. AGISTATUS returns FAILURE.
5. Runs an AGI script that will be hung up on while waiting for a command. AGISTATUS returns HANGUP.
6. Runs an AGI script that will be hung up on while executing a command. AGISTATUS returns HANGUP.
7. Runs an AGI script that exits normally. AGISTATUS returns SUCCESS.


Diffs
-----

  ./asterisk/trunk/tests/agi/exit_status/waiting.agi PRE-CREATION 
  ./asterisk/trunk/tests/agi/exit_status/test-config.yaml 4749 
  ./asterisk/trunk/tests/agi/exit_status/run-test 4749 
  ./asterisk/trunk/tests/agi/exit_status/executing.agi PRE-CREATION 
  ./asterisk/trunk/tests/agi/exit_status/donothing.agi PRE-CREATION 
  ./asterisk/trunk/tests/agi/exit_status/configs/ast1/extensions.conf PRE-CREATION 
  ./asterisk/trunk/tests/agi/exit_status/badinterpreter3.agi PRE-CREATION 
  ./asterisk/trunk/tests/agi/exit_status/badinterpreter2.agi PRE-CREATION 
  ./asterisk/trunk/tests/agi/exit_status/badinterpreter.agi PRE-CREATION 

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


Testing
-------


Thanks,

Benjamin Keith Ford

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140311/c476d583/attachment-0001.html>


More information about the asterisk-dev mailing list