[asterisk-commits] mmichelson: branch 12 r410625 - /branches/12/tests/test_sorcery_realtime.c

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


Author: mmichelson
Date: Fri Mar 14 16:55:45 2014
New Revision: 410625

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


Modified:
    branches/12/tests/test_sorcery_realtime.c

Modified: branches/12/tests/test_sorcery_realtime.c
URL: http://svnview.digium.com/svn/asterisk/branches/12/tests/test_sorcery_realtime.c?view=diff&rev=410625&r1=410624&r2=410625
==============================================================================
--- branches/12/tests/test_sorcery_realtime.c (original)
+++ branches/12/tests/test_sorcery_realtime.c Fri Mar 14 16:55:45 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