Imported Upstream version 4.5.10
[platform/upstream/findutils.git] / find / testsuite / find.gnu / samefile-copy.exp
1 # test for -samefile
2 exec rm -rf tmp
3 exec mkdir tmp tmp/one tmp/two
4 exec touch tmp/file1 tmp/file2
5 exec cp    tmp/file1 tmp/one/link
6 exec cp    tmp/file2 tmp/two/link
7 find_start p {tmp/one tmp/two -samefile tmp/file1 -print}
8 # exec rm -rf tmp