summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2021-06-17 10:16:56 +0200
committerJohnny Willemsen <jwillemsen@remedy.nl>2021-06-17 10:17:55 +0200
commit6d7ea0a3e686337865d9440feb9bb327582c6bf9 (patch)
tree248b47cc2a9737a33ffdbaeba8550c51d7656e44
parent943dd53bd48bf4a16c02f98d217c59bbb4b78ea7 (diff)
downloadATCD-6d7ea0a3e686337865d9440feb9bb327582c6bf9.tar.gz
Log the status returned by wait
* ACE/tests/Process_Env_Test.cpp:
-rw-r--r--ACE/tests/Process_Env_Test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ACE/tests/Process_Env_Test.cpp b/ACE/tests/Process_Env_Test.cpp
index ca8acbf66ce..559ef8fef19 100644
--- a/ACE/tests/Process_Env_Test.cpp
+++ b/ACE/tests/Process_Env_Test.cpp
@@ -114,8 +114,8 @@ run_main (int, ACE_TCHAR*[])
process2.wait (&status);
if (status != 1)
{
- ACE_ERROR ((LM_ERROR,
- "ERROR: process2 did not inherit env var Z.\n"));
+ ACE_ERROR ((LM_ERROR,
+ "ERROR: process2 did not inherit env var Z, wait returned %d.\n", status));
test_status = 1;
}