summaryrefslogtreecommitdiff
path: root/libc/malloc_debug/tests/malloc_debug_unit_tests.cpp
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2017-11-29 00:23:11 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-11-29 00:23:11 +0000
commit0a25aa60a2a7cc6b681dd2e31321000cedbff77e (patch)
tree71a9010357ac5f4c35035066e6676a9857a4a547 /libc/malloc_debug/tests/malloc_debug_unit_tests.cpp
parent72dcf2340ffb3215bb5f71515d2b59ec88d331a4 (diff)
parentcabc77f9172d74ff0bfc56d0797a6a8255b14f2a (diff)
Merge "Always wrap waitpid in TEMP_FAILURE_RETRY."
Diffstat (limited to 'libc/malloc_debug/tests/malloc_debug_unit_tests.cpp')
-rw-r--r--libc/malloc_debug/tests/malloc_debug_unit_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/malloc_debug/tests/malloc_debug_unit_tests.cpp b/libc/malloc_debug/tests/malloc_debug_unit_tests.cpp
index d7ba379c9..4e9066812 100644
--- a/libc/malloc_debug/tests/malloc_debug_unit_tests.cpp
+++ b/libc/malloc_debug/tests/malloc_debug_unit_tests.cpp
@@ -1385,7 +1385,7 @@ TEST_F(MallocDebugTest, backtrace_dump_on_exit) {
exit(0);
}
ASSERT_NE(-1, pid);
- ASSERT_EQ(pid, waitpid(pid, nullptr, 0));
+ ASSERT_EQ(pid, TEMP_FAILURE_RETRY(waitpid(pid, nullptr, 0)));
// Read all of the contents.
std::string actual;