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

This commit is contained in:
Treehugger Robot 2017-10-10 23:32:52 +00:00 committed by Gerrit Code Review
commit a52555d356

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);