This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
On 01/11/2018 11:03 PM, Dmitry V. Levin wrote:
+ char *cwd = getcwd (NULL, 0); + TEST_COMPARE (errno, ENOENT); + TEST_VERIFY (cwd == NULL);
Maybe also add this?
cwd = realpath (".", NULL);
TEST_VERIFY (cwd == NULL);
TEST_COMPARE (errno, ENOENT);
I assume that we expect to fail realpath with ENOENT as well.
Thanks,
Florian
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |