Don't abort in stdio.getdelim_invalid and stdio.getline_invalid.

Change-Id: Ie1aefed732f4bea77887bddd1be9a0578e247aa3
This commit is contained in:
Elliott Hughes 2013-12-19 14:56:17 -08:00
parent cf7a4a4fda
commit 6ad8f76f1f

View file

@ -85,6 +85,7 @@ TEST(stdio, getdelim) {
TEST(stdio, getdelim_invalid) {
FILE* fp = tmpfile();
ASSERT_TRUE(fp != NULL);
char* buffer = NULL;
size_t buffer_length = 0;
@ -153,6 +154,7 @@ TEST(stdio, getline) {
TEST(stdio, getline_invalid) {
FILE* fp = tmpfile();
ASSERT_TRUE(fp != NULL);
char* buffer = NULL;
size_t buffer_length = 0;