Lines Matching refs:is_hardlink
48 def is_hardlink(filename1, filename2): function
909 self.assertEqual(is_hardlink(pycs[0], pycs[1]), dedup)
910 self.assertEqual(is_hardlink(pycs[1], pycs[2]), dedup)
911 self.assertEqual(is_hardlink(pycs[0], pycs[2]), dedup)
986 self.assertFalse(is_hardlink(pycs[0], pycs[1]))
987 self.assertFalse(is_hardlink(pycs[0], pycs[2]))
988 self.assertFalse(is_hardlink(pycs[1], pycs[2]))
992 self.assertEqual(is_hardlink(pycs[0], pycs[1]),
994 self.assertEqual(is_hardlink(pycs[0], pycs[2]),
996 self.assertEqual(is_hardlink(pycs[1], pycs[2]),
1019 self.assertTrue(is_hardlink(pyc1, pyc2))
1031 self.assertTrue(is_hardlink(pyc1, pyc2))
1053 self.assertTrue(is_hardlink(pycs[0], pycs[2]))
1081 self.assertFalse(is_hardlink(pycs[1], pycs[2]))