[svn-commits] dlee: branch dlee/endpoints r387291 - in /team/dlee/endpoints: res/ tests/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu May 2 00:48:13 CDT 2013


Author: dlee
Date: Thu May  2 00:48:11 2013
New Revision: 387291

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=387291
Log:
test fixes

Modified:
    team/dlee/endpoints/res/res_stasis_test.c
    team/dlee/endpoints/tests/test_stasis_endpoints.c

Modified: team/dlee/endpoints/res/res_stasis_test.c
URL: http://svnview.digium.com/svn/asterisk/team/dlee/endpoints/res/res_stasis_test.c?view=diff&rev=387291&r1=387290&r2=387291
==============================================================================
--- team/dlee/endpoints/res/res_stasis_test.c (original)
+++ team/dlee/endpoints/res/res_stasis_test.c Thu May  2 00:48:11 2013
@@ -185,7 +185,7 @@
 
 static int unload_module(void)
 {
-	ao2_cleanup(stasis_test_message_type);
+	ao2_cleanup(test_message_type);
 	test_message_type = NULL;
 	return 0;
 }

Modified: team/dlee/endpoints/tests/test_stasis_endpoints.c
URL: http://svnview.digium.com/svn/asterisk/team/dlee/endpoints/tests/test_stasis_endpoints.c?view=diff&rev=387291&r1=387290&r2=387291
==============================================================================
--- team/dlee/endpoints/tests/test_stasis_endpoints.c (original)
+++ team/dlee/endpoints/tests/test_stasis_endpoints.c Thu May  2 00:48:11 2013
@@ -80,6 +80,7 @@
 
 	sub = stasis_subscribe(ast_endpoint_topic(uut), stasis_message_sink_cb,
 		sink);
+	ast_test_validate(test, NULL != sub);
 
 	chan = ast_channel_alloc(0, AST_STATE_DOWN, "100", "test_res", "100",
 		"100", "default", NULL, 0, "TEST/test_res");




More information about the svn-commits mailing list