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]

Re: [PATCH v2] linux: make getcwd(3) fail if it cannot obtain an absolute path [BZ #22679]


* Dmitry V. Levin:

> +  TEST_VERIFY_EXIT (cwd == NULL && errno == ENOENT);

Using

  TEST_COMPARE (errno, ENOENT);

for the second check would make it easier to diagnose test failures
without recompiling the test.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]