OSDN Git Service

Modify tests for another glibc difference.
authorChristopher Ferris <cferris@google.com>
Fri, 15 Nov 2013 23:16:01 +0000 (15:16 -0800)
committerChristopher Ferris <cferris@google.com>
Sat, 16 Nov 2013 00:09:44 +0000 (16:09 -0800)
commitcbd85b9cc1c5dd0bb1a5691143cd5adcbecdba77
tree6a68536f1a1a5c37803b04199fe536d7ce876891
parentf246c589d66e5dc0e3cddc3c37261fb0e3fc67e9
Modify tests for another glibc difference.

It turns out that when passing a closed file to getdelim or getline, the
functions in glibc will properly return a failure, but errno might not be
set. Skip the errno check except on bionic.

Change-Id: I8d625f15303d4c2d42e8d28491ea8a368aea4d32
tests/stdio_test.cpp