Subject: test-symlink fails on "lustre" file system (was: bug#37312: test failure in sed-4.7)

From: Assaf Gordon <[email-masked]>
Date: Fri, 6 Sep 2019 00:47:07 -0600

(adding bug-gnulib@)

Hello,

Thomas Oppe (CC'd) reported the following gnulib test failure
on GNU/Linux with "lustre" file system.
Details below:

===========

The system details are:

> 1.
> Is this reproducible?
> After running "make check", there should be an executable file called
> "gnulib-tests/test-symlink".
> If you run it directly, do you still get an error?

The error is reproducible.

The symlink test still fails if the test is run directly:

voodoo03> test-symlink
test-symlink.h:70: assertion 'errno == EEXIST || errno == EINVAL' failed
Abort (core dumped)

> 2.
> What is the operating system, and the file system you are using?

voodoo03> uname -a
Linux voodoo03 3.10.0-862.3.2.el7.x86_64 #1 SMP Tue May 15 18:22:15 EDT 
2018 x86_64 x86_64 x86_64 GNU/Linux

voodoo03> lsb_release -a
[...]
Description:	Red Hat Enterprise Linux Server release 7.5 (Maipo)
[...]

voodoo03> stat -f .
[...]  Type: lustre  [...]

====

based on the code in test-symlink.h, perhaps lustre returns an 
unexpected errno ?

line 69: ASSERT (func ("nowhere", BASE "dir/") == -1); 

line 70: ASSERT (errno == EEXIST || errno == EINVAL);

-assaf