push
github
lsfd: test: Adapt test cases for pidfs On Linux >= 6.9, pidfds are from pidfs instead of anonymous inode. Thus: STTYPE is REG on Linux >= 6.9, UNKN on Linux < 6.9. KNAME is pidfd:[inode number] on Linux >= 6.9, anon_inode:[pidfd] on Linux < 6.9. And ainode_class test cannot work on Linux >= 6.9, just skip this sub test if STTYPE is REG. Signed-off-by: Xi Ruoyao <xry111@xry111.site> (cherry picked from commit 04db2ba90)
26759 of 58944 branches covered (45.4%)
Branch coverage included in aggregate %.
49873 of 100992 relevant lines covered (49.38%)
15755.94 hits per line