fstests: add generic test for file handles
authorAmir Goldstein <amir73il@gmail.com>
Wed, 19 Apr 2017 16:29:19 +0000 (19:29 +0300)
committerEryu Guan <eguan@redhat.com>
Fri, 21 Apr 2017 03:14:34 +0000 (11:14 +0800)
commit62c42440ee55b1f9f1985d24260929e8fa3ec937
treeb3e1c254e22e955a0e16a710ac20ca6d867d4d76
parent52107267320f7c695921f97a0231797ddf05b32e
fstests: add generic test for file handles

Cloned from xfs specific test xfs/238, which checks
stale file handles of deleted files.

This test uses the generic open_by_handle_at() syscall
and also tests for non-stale file handles of linked files.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/generic/426 [new file with mode: 0755]
tests/generic/426.out [new file with mode: 0644]
tests/generic/group