summaryrefslogtreecommitdiff
path: root/ACE/tests/CDR_File_Test.cpp
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2007-04-03 22:33:08 +0000
committerSteve Huston <shuston@riverace.com>2007-04-03 22:33:08 +0000
commitb3a88803484927a4cebd70337d92c8108e03f6c7 (patch)
treeaf504657dacb98c0b2530e8971fdfe116cbe9930 /ACE/tests/CDR_File_Test.cpp
parent7849a0f90e8bdbe11fefb3938b4fa9329afdb9c0 (diff)
downloadATCD-b3a88803484927a4cebd70337d92c8108e03f6c7.tar.gz
ChangeLogTag:Tue Apr 3 22:29:41 UTC 2007 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'ACE/tests/CDR_File_Test.cpp')
-rw-r--r--ACE/tests/CDR_File_Test.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/ACE/tests/CDR_File_Test.cpp b/ACE/tests/CDR_File_Test.cpp
index 6aeb97a5e7b..6c3294e074e 100644
--- a/ACE/tests/CDR_File_Test.cpp
+++ b/ACE/tests/CDR_File_Test.cpp
@@ -329,7 +329,8 @@ run_test (int write_file,
*ace_file_stream::instance ()->output_file () << temp;
#endif // ACE_HAS_WINCE
- ACE_ASSERT (temp == cdr_test);
+ if (!(temp == cdr_test))
+ ACE_ERROR ((LM_ERROR, ACE_TEXT ("Data mismatch across file\n")));
}
return 0;
@@ -410,7 +411,7 @@ run_main (int argc, ACE_TCHAR *argv[])
filename.get_path_name ()),
1);
-#if !defined (VXWORKS)
+#if !defined (VXWORKS) && !defined (ACE_HAS_PHARLAP)
# define TEST_CAN_UNLINK_IN_ADVANCE
#endif
@@ -421,7 +422,7 @@ run_main (int argc, ACE_TCHAR *argv[])
// when the process exits.
if (file.unlink () == -1)
ACE_ERROR_RETURN ((LM_ERROR,
- ACE_TEXT ("unlink failed for %p\n"),
+ ACE_TEXT ("pre-unlink failed for %p\n"),
filename.get_path_name ()),
1);
}