test_log.c revision 8a4b0b791bf38ef8389a6501a586d8ab554e3711
10139N/A * Distribution License (the License). You may not use this file except in compliance with the
10139N/A * You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
10139N/A * When distributing Covered Software, include this CDDL Header Notice in each file and include
10139N/A * the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
11129N/A#include "platform.h"
10139N/Avoid am_net_init_ssl_reset();
10139N/A * In fact, because of the way logging works (differently) in test mode than it does in "agent mode"
10139N/A * all we're really doing here is to test that logging in test mode isn't broken. This may or may not
10139N/A /* this will not appear, since the instance is greater than zero, but it should not crash either */
10139N/A /* attempt to overflow the buffer, although this will be ultimately unsuccessful because the
10139N/A "1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890\n"
10139N/A "1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890\n"
10139N/A "1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890\n"
10139N/A "1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890\n"
10139N/A "1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890\n"
10139N/A "1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890\n"
10139N/A "1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890\n"
10139N/A "1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890\n"
10139N/A "1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890\n"
10139N/A "1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890\n"
10139N/A "ABCDEFGHIJABCDEFGHIJABCDEFGHIJABCDEFGHIJABCDEFGHIJABCDEFGHIJABCDEFGHIJABCDEFGHIJABCDEFGHIJABCDEFGHIJABCDEFGHIJABCDEFGHIJABCDEFGHIJ");
11129N/Avoid logging_teardown() {