Merge "Fix fcntrl#tee test to use the same expected/actual buffer size." am: a52555d356

am: 67c73cde0b

Change-Id: I88ae353aec590a61b296da587e98b08ca4bb7d53
This commit is contained in:
Kazuhiro Inaba 2017-10-10 23:49:19 +00:00 committed by android-build-merger
commit a1933210ef

View file

@ -207,7 +207,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);