2021-03-07 22:25:57 +00:00
|
|
|
// ReSharper disable StringLiteralTypo
|
|
|
|
|
|
2022-03-07 07:36:44 +00:00
|
|
|
using System.Collections.Generic;
|
2023-10-05 01:05:23 +01:00
|
|
|
using System.Diagnostics.CodeAnalysis;
|
2022-03-07 07:36:44 +00:00
|
|
|
using System.IO;
|
|
|
|
|
|
2022-11-15 15:58:43 +00:00
|
|
|
namespace Aaru.Tests.Issues;
|
|
|
|
|
|
2022-03-06 13:29:38 +00:00
|
|
|
/* https://github.com/aaru-dps/Aaru/issues/300
|
|
|
|
|
*
|
|
|
|
|
* SilasLaspada commented on Mar 9, 2020
|
|
|
|
|
*
|
|
|
|
|
* Trying to extract files from an image results in
|
|
|
|
|
* "Partition 1:
|
|
|
|
|
* Identifying filesystem on partition
|
|
|
|
|
* Error reading file: Object reference not set to an instance of an object."
|
|
|
|
|
*
|
|
|
|
|
* Aaru does extract the files successfully as far as I can tell despite the error.
|
|
|
|
|
* Log and image files: https://drive.google.com/open?id=17Hzuo4rj9UbLA8Zh3-tclkWM3a_L43e7
|
|
|
|
|
*/
|
2021-03-07 22:25:57 +00:00
|
|
|
|
2022-03-06 13:29:38 +00:00
|
|
|
// 20200309 CLAUNIA: Fixed in 48f067d79ff30cfd10e084085ff479bbb0939512
|
2023-10-05 01:05:23 +01:00
|
|
|
[SuppressMessage("ReSharper", "UnusedType.Global")]
|
2022-03-06 13:29:38 +00:00
|
|
|
public class _300 : FsExtractHashIssueTest
|
|
|
|
|
{
|
2022-11-13 05:48:58 +00:00
|
|
|
protected override string DataFolder => Path.Combine(Consts.TestFilesRoot, "Issues", "Fixed", "issue300");
|
2022-03-06 13:29:38 +00:00
|
|
|
protected override string TestFile => "sony.dicf";
|
2022-03-07 07:36:44 +00:00
|
|
|
protected override Dictionary<string, string> ParsedOptions => new();
|
2022-03-06 13:29:38 +00:00
|
|
|
protected override bool Debug => true;
|
|
|
|
|
protected override bool Xattrs => false;
|
|
|
|
|
protected override string Encoding => null;
|
|
|
|
|
protected override bool ExpectPartitions => true;
|
|
|
|
|
protected override string Namespace => null;
|
2021-03-07 22:25:57 +00:00
|
|
|
}
|