diff options
author | Matthew Jordan <mjordan@digium.com> | 2014-05-23 17:36:35 +0000 |
---|---|---|
committer | Matthew Jordan <mjordan@digium.com> | 2014-05-23 17:36:35 +0000 |
commit | a7d9f2f59506d2b2905c2e03d3ff3ea8d325c919 (patch) | |
tree | f84c49d6f675701c56ac18f58142e9bd76e56839 /tests | |
parent | 6b14886dc747ee8e876e982aa7c892810fb8783b (diff) |
test_cel: Fix unit tests broken due to event def changes from res_corosync
This patch instructs test_cel to skip any IE types it doesn't care about. The
addition of the raw and bitfield types caused the tests to fail.
........
Merged revisions 414528 from http://svn.asterisk.org/svn/asterisk/branches/12
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@414529 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_cel.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_cel.c b/tests/test_cel.c index 791a73c6c..501b99fab 100644 --- a/tests/test_cel.c +++ b/tests/test_cel.c @@ -1856,6 +1856,10 @@ static int match_ie_val( return !strcmp(str1, str2); } + case AST_EVENT_IE_PLTYPE_RAW: + case AST_EVENT_IE_PLTYPE_BITFLAGS: + /* Fall through: just pass on these types */ + return 1; default: break; } |