]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
test_strings: Remove string tests that exercise asserts.
authorGeorge Joseph <george.joseph@fairview5.com>
Thu, 6 Nov 2014 02:26:59 +0000 (02:26 +0000)
committerGeorge Joseph <george.joseph@fairview5.com>
Thu, 6 Nov 2014 02:26:59 +0000 (02:26 +0000)
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

tests/test_strings.c

index 4e0555ebb14ee418e512290f61fa3a454be4a2d5..ccada4cec25d7f2bd4a102a065fb2e675130fd6d 100644 (file)
@@ -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;
 }