]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
open_by_handle: add a test for connectable file handles v2025.05.25
authorAmir Goldstein <amir73il@gmail.com>
Fri, 9 May 2025 17:04:56 +0000 (19:04 +0200)
committerZorro Lang <zlang@kernel.org>
Sun, 25 May 2025 11:56:12 +0000 (19:56 +0800)
commitb7680adf9ff7bdc962fb95b5cbd304abd3137b69
tree130679ec55c5b04a216ce9c11b18558f778a1d71
parent67b823d4a832bdc79e1750774d67f0841413b312
open_by_handle: add a test for connectable file handles

This is a variant of generic/477 with connectable file handles.
This test uses load and store of file handles from a temp file to test
decoding connectable file handles after cycle mount and after renames.

Decoding connectable file handles after being moved to a new parent
is expected to fail on some filesystems, but not on filesystems that
do not really get unmounted in mount cycle like tmpfs, so skip this test.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/generic/777 [new file with mode: 0755]
tests/generic/777.out [new file with mode: 0644]