summaryrefslogtreecommitdiff
path: root/testit
AgeCommit message (Collapse)AuthorFilesLines
2010-04-25Only report hardlinks as duplicates if there's another identical file as well.Lars Wirzenius1-1/+1
If foo and bar are hardlinks to the same inode, and foobar is a file with the same content, report all three. However, if there is no foobar to be reported, do not report anything.
2010-04-25Rename test case to be clearer.Lars Wirzenius1-1/+1
2010-04-25Do not follow symlinks when statting.Lars Wirzenius1-7/+21
Report all hardlinks to the same file as duplicates. This is probably stupid, but avoids a bug: if foo and bar are hardlinks to the same inode, and foobar is not, but has identical content, then previously it would be random whether foo or bar was reported as the hardlinks. Further, only one of foo and bar would be made into a hardlink with foobar. So the next run would report the other one as a duplicate.
2010-04-25Add test for symlinks.Lars Wirzenius1-0/+12
2010-04-25Replace hardcoded list of tests with some introspection.Lars Wirzenius1-5/+5
2010-04-25Add test for two hardlinks.Lars Wirzenius1-0/+13
2010-04-25Add rudimentary blackbox testing script.Lars Wirzenius1-0/+97