mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 11:25:35 +00:00
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 ........ Merged revisions 427356 from http://svn.asterisk.org/svn/asterisk/branches/13 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@427357 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -449,10 +449,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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user