Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / ACE / tests / Bug_3710_Regression_Test.cpp
blob82451b7d526aba35a6797a4d29be4a9dffda644b
1 /**
2 * @file Bug_3710_Regression_Test.cpp
4 * Reproduces the problems reported in bug 3710
5 * http://bugzilla.dre.vanderbilt.edu/show_bug.cgi?id=3710
6 */
8 #include "test_config.h"
10 #include "ace/OS_NS_string.h"
11 #include "ace/OS_NS_unistd.h"
12 #include "ace/OS_Memory.h"
16 // Main function.
18 int
19 run_main (int, ACE_TCHAR *[])
21 ACE_START_TEST (ACE_TEXT ("Bug_3710_Regression_Test"));
23 ACE_TCHAR out_string[64*1024+1];
25 ACE_OS::memset(out_string,ACE_TEXT('@'),sizeof(out_string));
26 //I only use ACE_MAXLOGMSGLEN char .
27 out_string[ACE_MAXLOGMSGLEN] = ACE_TEXT('\0');
28 ACE_DEBUG((LM_ALERT, ACE_TEXT("%s out_string: I love beijing."),out_string));
30 ACE_END_TEST;
31 return 0;