diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2001-11-12 19:40:08 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2001-11-12 19:40:08 +0000 |
commit | 4b29aac4d3d22d79ac6b141d7f7e920ec4966105 (patch) | |
tree | d669ccb9c63b849c273d85cb8de81a9c9cd3da99 /TAO/orbsvcs | |
parent | 3e9ff9d22d88109de95e0369fba71132f59c9e39 (diff) | |
download | ATCD-4b29aac4d3d22d79ac6b141d7f7e920ec4966105.tar.gz |
ChangeLogTag:Mon Nov 12 11:38:03 2001 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'TAO/orbsvcs')
-rw-r--r-- | TAO/orbsvcs/tests/Security/Big_Request/client.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/TAO/orbsvcs/tests/Security/Big_Request/client.cpp b/TAO/orbsvcs/tests/Security/Big_Request/client.cpp index 2c3df8856fa..ff40770d4a5 100644 --- a/TAO/orbsvcs/tests/Security/Big_Request/client.cpp +++ b/TAO/orbsvcs/tests/Security/Big_Request/client.cpp @@ -88,6 +88,16 @@ main (int argc, char *argv[]) txObject->shutdown (ACE_TRY_ENV); ACE_TRY_CHECK; + + // Sanity check + if (data_output->length () != len + || ACE_OS::memcmp (data_input.get_buffer (), + data_output->get_buffer (), + len) != 0) + ACE_ERROR_RETURN ((LM_ERROR, + "ERROR: Received octet sequence does not match " + "the one that was sent.\n"), + -1); } ACE_CATCHANY { |