mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-18 18:46:16 +00:00
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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user