[asterisk-commits] gtjoseph: branch 13 r427356 - in /branches/13: ./ tests/test_strings.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Nov 5 20:37:44 CST 2014


Author: gtjoseph
Date: Wed Nov  5 20:37:42 2014
New Revision: 427356

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=427356
Log:
test_strings:  Remove string tests that exercise asserts.

Since unit tests are run with DO_CRASH, those tests were causing
the test to fail.

Tested-by: George Joseph
........

Merged revisions 427354 from http://svn.asterisk.org/svn/asterisk/branches/11
........

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

Modified:
    branches/13/   (props changed)
    branches/13/tests/test_strings.c

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

Modified: branches/13/tests/test_strings.c
URL: http://svnview.digium.com/svn/asterisk/branches/13/tests/test_strings.c?view=diff&rev=427356&r1=427355&r2=427356
==============================================================================
--- branches/13/tests/test_strings.c (original)
+++ branches/13/tests/test_strings.c Wed Nov  5 20:37:42 2014
@@ -449,10 +449,6 @@
 	ast_test_validate(test, test_semi(";;;;;", "\\;\\;\\;\\;\\;", 11));
 	ast_test_validate(test, test_semi(";;\\;;;", "\\;\\;\\\\;\\;\\;", 32));
 
-	ast_test_status_update(test, "This test should produce 2 'ast_escape_semicolons: FRACK!, Failed assertion' messages.\n");
-	ast_test_validate(test, !test_semi(NULL, "xx\\;xx", 8));
-	ast_test_validate(test, !test_semi("xx;xx", "xx\\;xx", -1));
-
 	return AST_TEST_PASS;
 }
 




More information about the asterisk-commits mailing list