generic/571: skip test if locktest -t on NFS returns EAGAIN
authorsuy.fnst@fujitsu.com <suy.fnst@fujitsu.com>
Mon, 29 Nov 2021 01:26:48 +0000 (01:26 +0000)
committerEryu Guan <guaneryu@gmail.com>
Sun, 5 Dec 2021 13:42:17 +0000 (21:42 +0800)
commit23255e2c0842c89a48001b0f75091e088ab04c32
tree4a0aba9bf2a26071e75fe9f3d04381a96ad4f9f4
parent2050356437e3576673ec5ead79ad72eb619f0d72
generic/571: skip test if locktest -t on NFS returns EAGAIN

As kernel commit e93a5e9306a5 ("NFSv4: Add support for application
leases underpinned by a delegation") describes, NFS now supports
file leases only after delegations.  However, fstests lacks many NFS
functionalities including delegation.

So let's skip generic/571 if locktest -t on NFS returns EAGAIN
because of commit df2c7b951f43 ("NFSv4: setlease should return
EAGAIN if locks are not available").

Signed-off-by: Su Yue <suy.fnst@fujitsu.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
common/rc