Home | History | Annotate | Download | only in test

Lines Matching refs:LNKTYPE

140     def _test_fileobj_link(self, lnktype, regtype):
141 a = self.tar.extractfile(lnktype)
146 self._test_fileobj_link("ustar/lnktype", "ustar/regtype")
149 self._test_fileobj_link("./ustar/linktest2/lnktype", "ustar/linktest1/regtype")
304 tar.extract("ustar/lnktype", TEMPDIR)
305 self.addCleanup(os.remove, os.path.join(TEMPDIR, "ustar/lnktype"))
306 with open(os.path.join(TEMPDIR, "ustar/lnktype"), "rb") as f:
502 tarinfo = self.tar.getmember("ustar/lnktype")
1039 tarinfo.type = tarfile.LNKTYPE
1092 # Test the creation of LNKTYPE (hardlink) members in an archive.
1121 self.assertTrue(tarinfo.type == tarfile.LNKTYPE,
1138 tarinfo.type = tarfile.LNKTYPE
1528 self._test_link_extraction("ustar/lnktype")
1531 self._test_link_extraction("./ustar/linktest2/lnktype")