diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2017-09-25 23:22:05 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-09-25 23:22:05 +0000 |
commit | a959ce8b7bedad25d667a790f92dcc0215937d78 (patch) | |
tree | 167d5d853920462cb6f958ded6a4415fb4c581fe | |
parent | b2b0460c5b2ba48eb2fa4aedf6ae4ef61c0c70bf (diff) | |
parent | 85a08ae9fead3f24daf108108257e4793a192e5f (diff) | |
download | bionic-a959ce8b7bedad25d667a790f92dcc0215937d78.tar.gz |
Merge "Fix fcntrl#tee test to use the same expected/actual buffer size." into nougat-mr1-cts-devnougat-mr1-cts-dev
-rw-r--r-- | tests/fcntl_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fcntl_test.cpp b/tests/fcntl_test.cpp index 3fd0a8cfb..b62b670d3 100644 --- a/tests/fcntl_test.cpp +++ b/tests/fcntl_test.cpp @@ -196,7 +196,7 @@ TEST(fcntl, vmsplice) { } TEST(fcntl, tee) { - char expected[256]; + char expected[BUFSIZ]; FILE* expected_fp = fopen("/proc/version", "r"); ASSERT_TRUE(expected_fp != NULL); ASSERT_TRUE(fgets(expected, sizeof(expected), expected_fp) != NULL); |