[asterisk-commits] gtjoseph: branch 11 r427354 - /branches/11/tests/test_strings.c

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


Author: gtjoseph
Date: Wed Nov  5 20:26:59 2014
New Revision: 427354

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


Modified:
    branches/11/tests/test_strings.c

Modified: branches/11/tests/test_strings.c
URL: http://svnview.digium.com/svn/asterisk/branches/11/tests/test_strings.c?view=diff&rev=427354&r1=427353&r2=427354
==============================================================================
--- branches/11/tests/test_strings.c (original)
+++ branches/11/tests/test_strings.c Wed Nov  5 20:26:59 2014
@@ -313,10 +313,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