summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1999-09-02 21:41:15 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1999-09-02 21:41:15 +0000
commit52cc19d92a015569d9783a28226426c574975dc6 (patch)
treeb14321ca64825ec3c363eb082820915ee81dbcfa
parenta9120c8ccec24050a7d26d77de56997e393fac99 (diff)
downloadATCD-52cc19d92a015569d9783a28226426c574975dc6.tar.gz
ChangeLogTag:Thu Sep 2 12:21:41 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
-rw-r--r--ChangeLog-99b4
-rw-r--r--tests/Log_Msg_Test.cpp22
2 files changed, 15 insertions, 11 deletions
diff --git a/ChangeLog-99b b/ChangeLog-99b
index 09a4175a54d..51e44cf1065 100644
--- a/ChangeLog-99b
+++ b/ChangeLog-99b
@@ -1,5 +1,9 @@
Thu Sep 2 12:21:41 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
+ * tests/Log_Msg_Test.cpp (test_log_msg_features): Changed the
+ use of %p to prevent an error message from being printed that'll
+ confuse the run_tests script.
+
* Just added the 700th non-DOC group individual who has contributed
to ACE+TAO over the years. In the last year, we've gone from
400 to 700 contributors, which is great!
diff --git a/tests/Log_Msg_Test.cpp b/tests/Log_Msg_Test.cpp
index fa93c461f9d..006af21155f 100644
--- a/tests/Log_Msg_Test.cpp
+++ b/tests/Log_Msg_Test.cpp
@@ -209,7 +209,17 @@ test_log_msg_features (const char *program)
ACE_ERROR ((LM_ERROR,
"op_status and errnum failed!\n"));
- // Exercise many different combinations of STDERR and OSTREAM.
+ const char *badname = "badname";
+
+ if (ACE_OS::open (badname,
+ O_RDONLY) == ACE_INVALID_HANDLE)
+ ACE_ERROR ((LM_ERROR,
+ "%n: (%x), can't open %s%r\n",
+ 10000,
+ badname,
+ cleanup));
+
+ // Exercise many different combinations of OSTREAM.
ACE_DEBUG ((LM_INFO,
ASYS_TEXT ("%10f, %*s%s = %d\n"),
@@ -258,16 +268,6 @@ 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_DEBUG ((LM_DEBUG,
- "%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.