diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2008-11-12 14:53:12 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2008-11-12 14:53:12 +0000 |
commit | 429146eeb8b93dc9fb176aad2180a9dac4a386bd (patch) | |
tree | 84482e2e3078e5a23dc53fabc54bf1cb09952434 /ACE/tests/OS_Test.cpp | |
parent | 08c23975f33d35b8a39cb5403df5daee1f560f3f (diff) | |
download | ATCD-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.cpp | 10 |
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 |