summaryrefslogtreecommitdiff
path: root/ACE/tests/OS_Test.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2008-11-12 14:53:12 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2008-11-12 14:53:12 +0000
commit429146eeb8b93dc9fb176aad2180a9dac4a386bd (patch)
tree84482e2e3078e5a23dc53fabc54bf1cb09952434 /ACE/tests/OS_Test.cpp
parent08c23975f33d35b8a39cb5403df5daee1f560f3f (diff)
downloadATCD-429146eeb8b93dc9fb176aad2180a9dac4a386bd.tar.gz
Wed Nov 12 14:52:30 UTC 2008 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ACE/tests/OS_Test.cpp')
-rw-r--r--ACE/tests/OS_Test.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/ACE/tests/OS_Test.cpp b/ACE/tests/OS_Test.cpp
index 1c662b55da4..c62c68f9cd6 100644
--- a/ACE/tests/OS_Test.cpp
+++ b/ACE/tests/OS_Test.cpp
@@ -70,14 +70,8 @@ rename_test (void)
#else
ACE_TCHAR old_file[MAXPATHLEN];
ACE_TCHAR new_file[MAXPATHLEN];
-#if defined (TEST_DIR)
- ACE_OS::strcpy (old_file, TEST_DIR);
- ACE_OS::strcat (old_file, ACE_DIRECTORY_SEPARATOR_STR);
- ACE_OS::strcpy (new_file, TEST_DIR);
- ACE_OS::strcat (new_file, ACE_DIRECTORY_SEPARATOR_STR);
-#endif
- ACE_OS::strcat (old_file, ACE_TEXT ("rename_test_old"));
- ACE_OS::strcat (new_file, ACE_TEXT ("rename_test_new"));
+ ACE_OS::strcpy (old_file, ACE_TEXT ("rename_test_old"));
+ ACE_OS::strcpy (new_file, ACE_TEXT ("rename_test_new"));
// Test 1. Rename old to new when new already exists.
// To set up, create two files, old and new. Both get opened and truncated