From: George Joseph Date: Thu, 6 Nov 2014 02:26:59 +0000 (+0000) Subject: test_strings: Remove string tests that exercise asserts. X-Git-Tag: 11.15.0-rc1~3^2~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48f329bfe855540a903305d38113c924838cd166;p=thirdparty%2Fasterisk.git 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 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@427354 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/tests/test_strings.c b/tests/test_strings.c index 4e0555ebb1..ccada4cec2 100644 --- a/tests/test_strings.c +++ b/tests/test_strings.c @@ -313,10 +313,6 @@ AST_TEST_DEFINE(escape_semicolons_test) 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; }