[asterisk-commits] tests/manager/exten state list: Fix LUA aborting Asterisk. (testsuite[master])

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Feb 16 17:21:29 CST 2017


Anonymous Coward #1000019 has submitted this change and it was merged. ( https://gerrit.asterisk.org/4984 )

Change subject: tests/manager/exten_state_list: Fix LUA aborting Asterisk.
......................................................................


tests/manager/exten_state_list: Fix LUA aborting Asterisk.

The test was failing because of the
ead773f8016f24054e8d17b0509760fd1ddc8fff commit to pbx_lua.c that aborts
Asterisk if the extensions.lua config file is invalid.

* Fix the dummy extensions.lua file to be a valid empty LUA dialplan.

Change-Id: I56806c645335c00385638e140d121c53959c7e6a
---
M tests/manager/exten_state_list/configs/ast1/extensions.lua
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Kevin Harwell: Looks good to me, approved
  Anonymous Coward #1000019: Verified
  Joshua Colp: Looks good to me, but someone else must approve



diff --git a/tests/manager/exten_state_list/configs/ast1/extensions.lua b/tests/manager/exten_state_list/configs/ast1/extensions.lua
index 850540c..d53576c 100644
--- a/tests/manager/exten_state_list/configs/ast1/extensions.lua
+++ b/tests/manager/exten_state_list/configs/ast1/extensions.lua
@@ -2,3 +2,4 @@
 -- to blow away the default extensions.lua that
 -- comes with the samples, which contains hints
 -- that will break this test.
+extensions = {}

-- 
To view, visit https://gerrit.asterisk.org/4984
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I56806c645335c00385638e140d121c53959c7e6a
Gerrit-PatchSet: 1
Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>



More information about the asterisk-commits mailing list