[svn-commits] gtjoseph: branch 12 r427355 - in /branches/12: ./ tests/test_strings.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Nov 5 20:34:22 CST 2014


Author: gtjoseph
Date: Wed Nov  5 20:34:17 2014
New Revision: 427355

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

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

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

Modified: branches/12/tests/test_strings.c
URL: http://svnview.digium.com/svn/asterisk/branches/12/tests/test_strings.c?view=diff&rev=427355&r1=427354&r2=427355
==============================================================================
--- branches/12/tests/test_strings.c (original)
+++ branches/12/tests/test_strings.c Wed Nov  5 20:34:17 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 svn-commits mailing list