overlay/017: use t_dir_type to find file by d_ino
'find -ino' is this test was supposed to filter files by inode
number that was recorded with 'ls -i' to compare st_ino returned by
stat(2) with d_ino returned by getdents64(2).
It turns out that on some systems, 'find -ino' uses stat(2) for
filtering by inode number, which is not what we want.
Use the auxiliary program t_dir_type to filter files by inode number
Signed-off-by: Amir Goldstein <firstname.lastname@example.org>
Reviewed-by: Eryu Guan <email@example.com>
Signed-off-by: Eryu Guan <firstname.lastname@example.org>
1 file changed