aaru-dps/Aaru

[UnitTest] [Atari partitions] Expected 10 partitions but found 4

claunia opened this issue · 0 comments

Version

Development commit

Commit hash

HEAD

Tested debug version?

  • Yes

Which operating systems have you used?

  • Windows
  • Linux
  • macOS
  • Other

What is the architectural bit size you're using?

  • 32-bit
  • 64-bit
  • Unsure or unknown

What processor are you using?

  • An Intel or AMD
  • An ARM or Apple Silicon
  • Unsure or unknown

Description

Expected 10 partitions but found 4.

Exact command line used

Unit test

Expected behavior

10 partitions found.

Actual behavior

4 partitions found.

Output of command execution with debug output enabled

Expected partitions to be a collection with 10 item(s) because Partitions: linux_ahdi.aif, but {
    Aaru.CommonTypes.Partition
    {
        Description = "Atari GEMDOS partition", 
        End = 61440UL, 
        Length = 61440UL, 
        Name = "", 
        Offset = 512UL, 
        Scheme = "Atari partitions", 
        Sequence = 0UL, 
        Size = 31457280UL, 
        Start = 1UL, 
        Type = "GEM"
    }, 
    Aaru.CommonTypes.Partition
    {
        Description = "Macintosh partition", 
        End = 102399UL, 
        Length = 102399UL, 
        Name = "", 
        Offset = 512UL, 
        Scheme = "Atari partitions", 
        Sequence = 1UL, 
        Size = 52428288UL, 
        Start = 1UL, 
        Type = "MAC"
    }, 
    Aaru.CommonTypes.Partition
    {
        Description = "Atari GEMDOS partition bigger than 32 MiB", 
        End = 143360UL, 
        Length = 81920UL, 
        Name = "", 
        Offset = 31457792UL, 
        Scheme = "Atari partitions", 
        Sequence = 2UL, 
        Size = 41943040UL, 
        Start = 61441UL, 
        Type = "BGM"
    }, 
    Aaru.CommonTypes.Partition
    {
        Description = "Linux partition", 
        End = 235520UL, 
        Length = 92160UL, 
        Name = "", 
        Offset = 73400832UL, 
        Scheme = "Atari partitions", 
        Sequence = 3UL, 
        Size = 47185920UL, 
        Start = 143361UL, 
        Type = "LNX"
    }
}
"
"contains 6 item(s) less than"
"{
    Aaru.CommonTypes.Partition
    {
        Description = <null>, 
        End = 61440UL, 
        Length = 61440UL, 
        Name = <null>, 
        Offset = 512UL, 
        Scheme = <null>, 
        Sequence = 0UL, 
        Size = 31457280UL, 
        Start = 1UL, 
        Type = "GEM"
    }, 
    Aaru.CommonTypes.Partition
    {
        Description = <null>, 
        End = 143360UL, 
        Length = 81920UL, 
        Name = <null>, 
        Offset = 31457792UL, 
        Scheme = <null>, 
        Sequence = 1UL, 
        Size = 41943040UL, 
        Start = 61441UL, 
        Type = "BGM"
    }, 
    Aaru.CommonTypes.Partition
    {
        Description = <null>, 
        End = 253521UL, 
        Length = 110161UL, 
        Name = <null>, 
        Offset = 73400832UL, 
        Scheme = <null>, 
        Sequence = 2UL, 
        Size = 56402432UL, 
        Start = 143361UL, 
        Type = "LNX"
    }, 
    Aaru.CommonTypes.Partition
    {
        Description = <null>, 
        End = 337921UL, 
        Length = 84400UL, 
        Name = <null>, 
        Offset = 129803264UL, 
        Scheme = <null>, 
        Sequence = 3UL, 
        Size = 43212800UL, 
        Start = 253522UL, 
        Type = "MAC"
    }, 
    Aaru.CommonTypes.Partition
    {
        Description = <null>, 
        End = 450561UL, 
        Length = 112640UL, 
        Name = <null>, 
        Offset = 173016064UL, 
        Scheme = <null>, 
        Sequence = 4UL, 
        Size = 57671680UL, 
        Start = 337922UL, 
        Type = "MIX"
    }, 
    Aaru.CommonTypes.Partition
    {
        Description = <null>, 
        End = 573441UL, 
        Length = 122880UL, 
        Name = <null>, 
        Offset = 230687744UL, 
        Scheme = <null>, 
        Sequence = 5UL, 
        Size = 62914560UL, 
        Start = 450562UL, 
        Type = "MNX"
    }, 
    Aaru.CommonTypes.Partition
    {
        Description = <null>, 
        End = 716801UL, 
        Length = 143360UL, 
        Name = <null>, 
        Offset = 293602304UL, 
        Scheme = <null>, 
        Sequence = 6UL, 
        Size = 73400320UL, 
        Start = 573442UL, 
        Type = "RAW"
    }, 
    Aaru.CommonTypes.Partition
    {
        Description = <null>, 
        End = 870401UL, 
        Length = 153600UL, 
        Name = <null>, 
        Offset = 367002624UL, 
        Scheme = <null>,