private void checkLongNameEntry(String archive) throws Exception {
FileInputStream fis = new FileInputStream(getFile(archive));
ArArchiveInputStream s = null;
try {
s = new ArArchiveInputStream(new BufferedInputStream(fis));
ArchiveEntry e = s.getNextEntry();
assertEquals("this_is_a_long_file_name.txt", e.getName());
assertEquals(14, e.getSize());
byte[] hello = new byte[14];
s.read(hello);
assertEquals("Hello, world!\n", ArchiveUtils.toAsciiString(hello));
assertNull(s.getNextEntry());
} finally {