[asterisk-commits] mmichelson: trunk r410626 - in /trunk: ./ tests/test_sorcery_realtime.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Mar 14 16:56:26 CDT 2014


Author: mmichelson
Date: Fri Mar 14 16:56:21 2014
New Revision: 410626

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=410626
Log:
Fix failing realtime sorcery tests.

The store realtime callback needs to return a positive value for
sorcery to treat the store as a success.
........

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

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

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

Modified: trunk/tests/test_sorcery_realtime.c
URL: http://svnview.digium.com/svn/asterisk/trunk/tests/test_sorcery_realtime.c?view=diff&rev=410626&r1=410625&r2=410626
==============================================================================
--- trunk/tests/test_sorcery_realtime.c (original)
+++ trunk/tests/test_sorcery_realtime.c Fri Mar 14 16:56:21 2014
@@ -168,7 +168,7 @@
 	ast_variable_append(object, ast_variables_dup((struct ast_variable*)fields));
 	ast_category_append(realtime_objects, object);
 
-	return 0;
+	return 1;
 }
 
 static int realtime_sorcery_destroy(const char *database, const char *table, const char *keyfield, const char *entity, const struct ast_variable *fields)




More information about the asterisk-commits mailing list