[asterisk-commits] mjordan: branch 12 r414528 - /branches/12/tests/test_cel.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri May 23 12:36:03 CDT 2014
Author: mjordan
Date: Fri May 23 12:35:52 2014
New Revision: 414528
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=414528
Log:
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.
Modified:
branches/12/tests/test_cel.c
Modified: branches/12/tests/test_cel.c
URL: http://svnview.digium.com/svn/asterisk/branches/12/tests/test_cel.c?view=diff&rev=414528&r1=414527&r2=414528
==============================================================================
--- branches/12/tests/test_cel.c (original)
+++ branches/12/tests/test_cel.c Fri May 23 12:35:52 2014
@@ -1856,6 +1856,10 @@
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;
}
More information about the asterisk-commits
mailing list