[LTP] fs/acl: Add ACL_USER_OBJ permission test

Andrea Cervesato andrea.cervesato@suse.com
Mon Jun 15 11:29:29 CEST 2026


> This is correct, but it's also true that TERRNO is printing
> errno with its description, so the example is wrong. If any
> syscall after acl_set_file() will fail, we will print the errno
> of rmdir() or unlink().
> 
> You need to save the errno using TEST().

I forgot to mention to use TEST() first and TTERRNO then. It will
print TST_ERR.

--
Andrea Cervesato
SUSE QE Automation Engineer Linux
andrea.cervesato@suse.com


More information about the ltp mailing list