ltp
ltp copied to clipboard
name_to_handle_at02 fails due to EOPNOTSUPP in Alpine 3.18 container
# name_to_handle_at02
tst_test.c:1684: TINFO: LTP version: 20230516
tst_test.c:1568: TINFO: Timeout per run is 0h 00m 30s
name_to_handle_at02.c:75: TPASS: invalid-dfd: name_to_handle_at() failed as expected: EBADF (9)
name_to_handle_at02.c:75: TPASS: not a directory: name_to_handle_at() failed as expected: ENOTDIR (20)
name_to_handle_at02.c:75: TPASS: invalid-path: name_to_handle_at() failed as expected: EFAULT (14)
name_to_handle_at02.c:69: TFAIL: invalid-file-handle: name_to_handle_at() should fail with EFAULT: EOPNOTSUPP (95)
name_to_handle_at02.c:69: TFAIL: zero-file-handle-size: name_to_handle_at() should fail with EOVERFLOW: EOPNOTSUPP (95)
name_to_handle_at02.c:69: TFAIL: high-file-handle-size: name_to_handle_at() should fail with EINVAL: EOPNOTSUPP (95)
name_to_handle_at02.c:69: TFAIL: invalid-mount_id: name_to_handle_at() should fail with EFAULT: EOPNOTSUPP (95)
name_to_handle_at02.c:75: TPASS: invalid-flags: name_to_handle_at() failed as expected: EINVAL (22)
name_to_handle_at02.c:75: TPASS: empty-path: name_to_handle_at() failed as expected: ENOENT (2)
Musl just wraps this syscall, so it is due to checks inside the kernel.