diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-09-02 21:30:10 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-09-02 21:30:10 +0000 |
commit | dd22611f334909e39bb402b0ede6abfa4e198961 (patch) | |
tree | 0da48b2a538a40a5b1b7b5005813babb737ca23b | |
parent | 3607e0fd4c5b0014b6ea32ea4a80e9367ad0b430 (diff) | |
download | ATCD-dd22611f334909e39bb402b0ede6abfa4e198961.tar.gz |
ChangeLogTag:Thu Sep 2 12:21:41 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
-rw-r--r-- | tests/Log_Msg_Test.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/Log_Msg_Test.cpp b/tests/Log_Msg_Test.cpp index b07742258d4..ede707c5f64 100644 --- a/tests/Log_Msg_Test.cpp +++ b/tests/Log_Msg_Test.cpp @@ -258,6 +258,16 @@ test_log_msg_features (const char *program) "world", 10000 * counter++)); + const char *badname = "badname"; + + if (ACE_OS::open (badname, + O_RDONLY) == ACE_INVALID_HANDLE) + ACE_ERROR ((LM_ERROR, + "%n: (%x), %p%r\n", + 10000, + badname, + cleanup)); + static int array[] = {1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048}; // Print out the binary bytes of the array in hex form. @@ -294,16 +304,6 @@ test_log_msg_features (const char *program) ASYS_TEXT ("This LM_INFO message should not print!\n"))); ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("This LM_DEBUG message should not print!\n"))); - - const char *badname = "badname"; - - if (ACE_OS::open (badname, O_RDONLY) == ACE_INVALID_HANDLE) - ACE_ERROR ((LM_ERROR, - "%n: (%x), %p%r\n", - 10000, - badname, - cleanup)); - } static int |