mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-14 08:56:15 +00:00
Merge pull request #7353 from gdicristofaro/carvedFilesTestFix
carved file test fix
This commit is contained in:
commit
5b7a46df95
@ -266,7 +266,7 @@ public class IngestFileFiltersTest extends NbTestCase {
|
||||
String errMsg = String.format("File %s (objId=%d) unexpectedly blocked by the file filter.", file.getName(), file.getId());
|
||||
assertTrue(errMsg, file.getMIMEType() != null && !file.getMIMEType().isEmpty());
|
||||
|
||||
if (file.getParentPath().equalsIgnoreCase("/$CarvedFiles/")) {
|
||||
if (file.getParentPath().startsWith("/$CarvedFiles/")) {
|
||||
carvedJpgGifFiles++;
|
||||
}
|
||||
} else if (file.getName().startsWith("Unalloc_")) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user