getcwd: Fix test failure when building on a Linux 9p file system.
commitc88cf363f14abc2f2f3014972b652a682f297f0a
authorBruno Haible <bruno@clisp.org>
Sun, 13 Jan 2019 18:14:10 +0000 (13 19:14 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 13 Jan 2019 18:14:10 +0000 (13 19:14 +0100)
tree71885439c6cd5721d69038b481abadd882804b27
parent769c6d033c94ec54cb72c7db2ddcf7d587b5ab37
getcwd: Fix test failure when building on a Linux 9p file system.

* m4/getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): On Linux, treat error
EINVAL from mkdir like ENAMETOOLONG.
* tests/test-getcwd.c (test_long_name): Likewise.
ChangeLog
m4/getcwd-path-max.m4
tests/test-getcwd.c