summaryrefslogtreecommitdiff
path: root/tests/Enum_Interfaces_Test.cpp
diff options
context:
space:
mode:
authorbrunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-04-23 04:43:59 +0000
committerbrunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-04-23 04:43:59 +0000
commita7c03cabf931b077d70c6f80ec02c7728a429f49 (patch)
tree61d38d262d43ac77fc2ad94c9e7e850cd5607622 /tests/Enum_Interfaces_Test.cpp
parent2aa7b10780ad7c670f588dce4ec341351a0646aa (diff)
downloadATCD-a7c03cabf931b077d70c6f80ec02c7728a429f49.tar.gz
ChangeLogTag:Sat Apr 22 20:53:11 2000 Darrell Brunsch <brunsch@uci.edu>
Diffstat (limited to 'tests/Enum_Interfaces_Test.cpp')
-rw-r--r--tests/Enum_Interfaces_Test.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/Enum_Interfaces_Test.cpp b/tests/Enum_Interfaces_Test.cpp
index 071c06c6843..c08692010a4 100644
--- a/tests/Enum_Interfaces_Test.cpp
+++ b/tests/Enum_Interfaces_Test.cpp
@@ -34,15 +34,15 @@
ACE_RCSID(tests, Enum_Interfaces_Test, "$Id$")
int
-main (int, ASYS_TCHAR *[])
+main (int, ACE_TCHAR *[])
{
- ACE_START_TEST (ASYS_TEXT ("Enum_Interfaces_Test"));
+ ACE_START_TEST (ACE_TEXT ("Enum_Interfaces_Test"));
struct utsname uname;
ACE_OS::uname(&uname);
- ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("Machine: %s running on %s\n"),
+ ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("Machine: %s running on %s\n"),
uname.nodename, uname.machine ));
- ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("Platform: %s, %s, %s\n"),
+ ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("Platform: %s, %s, %s\n"),
uname.sysname, uname.release, uname.version ));
ACE_INET_Addr *the_addr_array;
@@ -52,17 +52,17 @@ main (int, ASYS_TCHAR *[])
if (rc != 0)
ACE_ERROR ((LM_ERROR,
- ASYS_TEXT ("%p\n"),
- ASYS_TEXT ("ACE::get_ip_interfaces failed")));
+ ACE_TEXT ("%p\n"),
+ ACE_TEXT ("ACE::get_ip_interfaces failed")));
else if (how_many == 0)
ACE_ERROR ((LM_ERROR,
- ASYS_TEXT ("No interfaces presently configured in the kernel\n")));
+ ACE_TEXT ("No interfaces presently configured in the kernel\n")));
else
{
- ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("there are %d interfaces\n"), how_many));
+ ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("there are %d interfaces\n"), how_many));
for (size_t i = 0; i < how_many; i++)
- ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("\t%s\n"), the_addr_array[i].get_host_addr ()));
+ ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("\t%s\n"), the_addr_array[i].get_host_addr ()));
delete [] the_addr_array;
}