blob: 1c6aa1fc73e3e2e85a50f100dfd49f5fab52591a (
plain)
1
2
3
4
5
6
7
8
9
10
|
# test for -samefile
exec rm -rf tmp
exec mkdir tmp tmp/one tmp/two
exec touch tmp/file1 tmp/file2
exec ln tmp/file1 tmp/one/link
exec ln -s ../file1 tmp/one/symlink
exec ln tmp/file2 tmp/two/link
exec ln -s ../file2 tmp/two/symlink
find_start p { -L tmp/one tmp/two -samefile tmp/file1 -print}
# exec rm -rf tmp
|