diff options
author | Mark Michelson <mmichelson@digium.com> | 2014-08-11 17:38:31 +0000 |
---|---|---|
committer | Mark Michelson <mmichelson@digium.com> | 2014-08-11 17:38:31 +0000 |
commit | 1b500d2fa1eb4b158a663e2f20bf2ffa3523a707 (patch) | |
tree | 18d1e77478ece48031de2b7f08a3524a48e383aa /apps/app_dial.c | |
parent | c43c22fe89a1aaf57b562e48d0d8f4fdbd3d7686 (diff) |
Fix crashing unit tests with regards to RLS.
The unit tests require a sorcery.conf file that has been
set up to store resource lists in memory rather than retrieving
from configuration.
With a setup that is not conducive to running the tests, a fault
in sorcery currently causes Asterisk to crash when attempting to
run any of the tests.
To get around the crash, this adds a function that verifies the
current environment and marks the tests as "not run" if the setup
is not correct.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@420779 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_dial.c')
0 files changed, 0 insertions, 0 deletions