diff options
| author | Kazuhiro Inaba <kinaba@google.com> | 2017-09-25 15:18:29 +0900 |
|---|---|---|
| committer | Josh Gao <jmgao@google.com> | 2017-09-25 23:34:19 +0000 |
| commit | f7a8e95fe844d9596bc9e2e0c53ce42b761f86c7 (patch) | |
| tree | 9a58ee9885061b2afc354816fd867925a8284afb /libc/malloc_hooks/tests/malloc_hooks_tests.cpp | |
| parent | 2e01f39c31e042482fbe10df79d8b2837ae79239 (diff) | |
Fix fcntrl#tee test to use the same expected/actual buffer size.
Previously the test compared /proc/version read into expected[256]
with actual[BUFSIZ]. This CL aligns the both of the buffer sizes to
the same BUFSIZ, so that /proc/version longer than 256 bytes won't
result in a test failure.
Bug: 66872345
Test: fcntl#tee on a device with long /proc/version (Chromebook Plus)
Change-Id: I004dd2189565b0bdde1aa22a2f25fafe74560180
(cherry picked from commit 85a08ae9fead3f24daf108108257e4793a192e5f)
Diffstat (limited to 'libc/malloc_hooks/tests/malloc_hooks_tests.cpp')
0 files changed, 0 insertions, 0 deletions
