[LTP] [PATCH v4 2/2] fstat: add test for multiple file types using fstat

Andrea Cervesato andrea.cervesato@suse.com
Fri Mar 13 16:36:13 CET 2026


Hi!

> Hi,
> 
> fstat() follows symbolic links and reports the type of the target file,
> so it cannot be used to detect S_IFLNK.
> 
> Would it be better to drop the symlink testcase from this test?
> 
> Jinseok.

It doesn't make sense to add a test for a feature that we already know it
can't be tested, so yes, it makes sense to remove this testcase.

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


More information about the ltp mailing list