Lines Matching refs:longname
507 name = "ustar/" + "12345/" * 39 + "1234567/longname"
523 # Test reading of longname (bug #1471427).
524 longname = self.subdir + "/" + "123/" * 125 + "longname"
526 tarinfo = self.tar.getmember(longname)
528 self.fail("longname not found")
529 self.assertTrue(tarinfo.type != tarfile.DIRTYPE, "read longname as dirtype")
532 longname = self.subdir + "/" + "123/" * 125 + "longname"
538 self.assertTrue(tarinfo.linkname == longname, "linkname wrong")
541 longname = self.subdir + "/" + "123/" * 125 + "longname"
542 tarinfo = self.tar.getmember(longname)
551 longname = self.subdir + "/" + "123/" * 125 + "longname"
552 offset = self.tar.getmember(longname).offset
982 # This testcase checks for correct creation of GNU Longname
996 # GNU longname extended header + longname
1017 self.assertTrue(v1 == v2, "GNU longname/longlink creation failed")
1024 "unable to read longname member")
1026 "unable to read longname member")
1028 "unable to read longname member")
1034 self._test(("longnam/" * 127) + "longname")
1053 self._test(("longnam/" * 127) + "longname",
1120 self.assertTrue(name == n, "PAX longname creation failed")
1381 tarinfo = tarfile.TarInfo("123/" * 62 + "longname")
1385 tarinfo = tarfile.TarInfo("1234567/" * 31 + "longname")
1389 tarinfo = tarfile.TarInfo("123/" * 126 + "longname")
1394 tarinfo.linkname = "123/" * 126 + "longname"
1403 tarinfo = tarfile.TarInfo("123/" * 126 + "longname")
1407 tarinfo.linkname = "123/" * 126 + "longname"
1416 tarinfo = tarfile.TarInfo("123/" * 126 + "longname")
1420 tarinfo.linkname = "123/" * 126 + "longname"