summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_send_fds_test.cc
diff options
context:
space:
mode:
authorhans@chromium.org <hans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-16 08:15:32 +0000
committerhans@chromium.org <hans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-16 08:15:32 +0000
commit460da03986435cd02f35d317feda3534a912d8e7 (patch)
tree18159d95a284ed31bbc66ed1eaba214084cfaec7 /ipc/ipc_send_fds_test.cc
parent81e8ebf38660b01f4886984adb444bc5028916e7 (diff)
downloadchromium_src-460da03986435cd02f35d317feda3534a912d8e7.zip
chromium_src-460da03986435cd02f35d317feda3534a912d8e7.tar.gz
chromium_src-460da03986435cd02f35d317feda3534a912d8e7.tar.bz2
Handle return value from HANDLE_EINTR in ipc_send_fds_test.cc.
Clang complains about this unused return value. BUG=none TEST=none Review URL: http://codereview.chromium.org/3317020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59623 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_send_fds_test.cc')
-rw-r--r--ipc/ipc_send_fds_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/ipc_send_fds_test.cc b/ipc/ipc_send_fds_test.cc
index 4e80c07..7001574 100644
--- a/ipc/ipc_send_fds_test.cc
+++ b/ipc/ipc_send_fds_test.cc
@@ -168,7 +168,7 @@ MULTIPROCESS_TEST_MAIN(RunTestDescriptorClient) {
struct stat st;
const int fd = open(kDevZeroPath, O_RDONLY);
fstat(fd, &st);
- HANDLE_EINTR(close(fd));
+ EXPECT_GE(HANDLE_EINTR(close(fd)), 0);
return TestDescriptorClient(st.st_ino);
}