summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Joseph <george.joseph@fairview5.com>2014-11-06 02:41:17 +0000
committerGeorge Joseph <george.joseph@fairview5.com>2014-11-06 02:41:17 +0000
commit362dde22293c966594a30d4386212dc12dc690f3 (patch)
tree32da5ad855acc6cc3d15c0eeb6b11efdac5425df
parent69f29e627f2184372f3d0828befdcb20c180cf9b (diff)
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
-rw-r--r--tests/test_strings.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/test_strings.c b/tests/test_strings.c
index 05cc8df84..cf089a865 100644
--- a/tests/test_strings.c
+++ b/tests/test_strings.c
@@ -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;
}