summaryrefslogtreecommitdiff
path: root/tests/Svc_Handler_Test.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1999-09-02 04:36:31 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1999-09-02 04:36:31 +0000
commitdd410e63659545eb8fb6e836c8d9ee5533400f65 (patch)
tree49c6403542e38bc32a6c3ad98cb1a0c08f449dea /tests/Svc_Handler_Test.cpp
parent390a7cd6260f7697c69764a20b7ce16563aff8c6 (diff)
downloadATCD-dd410e63659545eb8fb6e836c8d9ee5533400f65.tar.gz
ChangeLogTag:Wed Sep 1 21:37:59 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
Diffstat (limited to 'tests/Svc_Handler_Test.cpp')
-rw-r--r--tests/Svc_Handler_Test.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/Svc_Handler_Test.cpp b/tests/Svc_Handler_Test.cpp
index 7ed44e3a7f9..b38673605c1 100644
--- a/tests/Svc_Handler_Test.cpp
+++ b/tests/Svc_Handler_Test.cpp
@@ -99,9 +99,11 @@ main (int argc, ASYS_TCHAR *argv[])
if (connector.connect (file_io,
file) == -1)
ACE_ERROR_RETURN ((LM_ERROR,
- ASYS_TEXT ("open failed for %p\n"),
+ ASYS_TEXT ("connect failed for %p\n"),
file.get_path_name ()),
1);
+ // Unlink this file right away so that it is automatically removed
+ // when the process exits.
else if (file_io.unlink () == -1)
ACE_ERROR_RETURN ((LM_ERROR,
ASYS_TEXT ("unlink failed for %p\n"),