[svn-commits] mjordan: trunk r414529 - in /trunk: ./ tests/test_cel.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri May 23 12:36:38 CDT 2014


Author: mjordan
Date: Fri May 23 12:36:35 2014
New Revision: 414529

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=414529
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.
........

Merged revisions 414528 from http://svn.asterisk.org/svn/asterisk/branches/12

Modified:
    trunk/   (props changed)
    trunk/tests/test_cel.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-12-merged' - no diff available.

Modified: trunk/tests/test_cel.c
URL: http://svnview.digium.com/svn/asterisk/trunk/tests/test_cel.c?view=diff&rev=414529&r1=414528&r2=414529
==============================================================================
--- trunk/tests/test_cel.c (original)
+++ trunk/tests/test_cel.c Fri May 23 12:36:35 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 svn-commits mailing list