mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-14 20:42:21 +00:00
Remove hardcode in tar test
This commit is contained in:
1 parent
3e187a0264
commit
bfa6d8be0c
1 file changed
+1
-1
@@ -371,7 +371,7 @@ public class FilePathTest {
|
||||
// Decompress
|
||||
FilePath outDir = new FilePath(temp.newFolder(filePrefix + "_out"));
|
||||
final FilePath outFile = outDir.child(tempFile.getName());
|
||||
tmpDirPath.child( filePrefix + ".tar").untar(outDir, TarCompression.NONE);
|
||||
tmpDirPath.child(tarFile.getName()).untar(outDir, TarCompression.NONE);
|
||||
assertEquals("Result file after the roundtrip differs from the initial file",
|
||||
new FilePath(tempFile).digest(), outFile.digest());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user