Skip to content
Permalink
Browse files
fix TarFileTest.testDirectoryWithLongNameEndsWithSlash (#289)
  • Loading branch information
darkma773r committed May 6, 2022
1 parent afa14ea commit 199abaa671f2e172c7613dcc8605e44589533fc4
Showing 1 changed file with 1 addition and 1 deletion.
@@ -266,7 +266,7 @@ public void testDirectoryWithLongNameEndsWithSlash() throws IOException {
File tarF = new File(rootPath + "/tar" + i + ".tar");
try (OutputStream dest = Files.newOutputStream(tarF.toPath());
TarArchiveOutputStream out = new TarArchiveOutputStream(new BufferedOutputStream(dest))) {
out.setBigNumberMode(TarArchiveOutputStream.BIGNUMBER_STAR);
out.setBigNumberMode(TarArchiveOutputStream.BIGNUMBER_POSIX);
out.setLongFileMode(TarArchiveOutputStream.LONGFILE_GNU);

File file = new File(rootPath, fileName);

0 comments on commit 199abaa

Please sign in to comment.