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

Richard Mudgett asteriskteam at digium.com
Thu Feb 16 15:18:00 CST 2017


Richard Mudgett has uploaded a new change for review. ( 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(-)


  git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/84/4984/1

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: newchange
Gerrit-Change-Id: I56806c645335c00385638e140d121c53959c7e6a
Gerrit-PatchSet: 1
Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>



More information about the asterisk-code-review mailing list