From eca42895769ad65b1e5a94cfe7c543483a8105f7 Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Tue, 1 Aug 2017 13:34:19 +0100 Subject: [PATCH] Parameter adjustment. --- DiscImageChef.Tests/Filesystems/UFS.cs | 8 ++++---- DiscImageChef.Tests/Filesystems/UFS_MBR.cs | 6 +++--- DiscImageChef.Tests/Filesystems/UFS_Suni86.cs | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/DiscImageChef.Tests/Filesystems/UFS.cs b/DiscImageChef.Tests/Filesystems/UFS.cs index 6b96b877..4cb533ad 100644 --- a/DiscImageChef.Tests/Filesystems/UFS.cs +++ b/DiscImageChef.Tests/Filesystems/UFS.cs @@ -68,13 +68,13 @@ namespace DiscImageChef.Tests.Filesystems }; readonly long[] clusters = { - 880, 2880, 720, 2400, - 1440, 2880, 711, 1422, + 880, 2880, 360, 1200, + 720, 1440, 711, 1422, }; readonly int[] clustersize = { - 1024, 512, 512, 512, - 512, 512, 1024, 1024, + 1024, 512, 1024, 1024, + 1024, 1024, 1024, 1024, }; readonly string[] volumename = { diff --git a/DiscImageChef.Tests/Filesystems/UFS_MBR.cs b/DiscImageChef.Tests/Filesystems/UFS_MBR.cs index 6f2de8a1..bd842830 100644 --- a/DiscImageChef.Tests/Filesystems/UFS_MBR.cs +++ b/DiscImageChef.Tests/Filesystems/UFS_MBR.cs @@ -90,7 +90,7 @@ namespace DiscImageChef.Tests.Filesystems 102280, 102280, 102368, 1048500, 523758, 523758, 262138, 1048231, 2096462, 524284, 511968, 1038240, - 1046808, 2096472, 2096472, 65018, + 1046808, 2096472, 2096472, 4192945, 524272, }; @@ -112,7 +112,7 @@ namespace DiscImageChef.Tests.Filesystems null, null, null, null, null, null, null, null, null, null, null, null, - null, "VolumeLabel", "VolumeLabel", null, + null, "VolumeLabel", "VolumeLabel", "VolumeLabel", "", }; @@ -156,7 +156,7 @@ namespace DiscImageChef.Tests.Filesystems for(int j = 0; j < partitions.Count; j++) { if(partitions[j].Type == "0x63" || partitions[j].Type == "0xA8" || partitions[j].Type == "0xA5" || partitions[j].Type == "0xA9" || - partitions[j].Type == "0x82" || partitions[j].Type == "0x83" || partitions[j].Type == "4.2BSD Fast File System") + partitions[j].Type == "0x82" || partitions[j].Type == "0x83" || partitions[j].Type == "4.2BSD Fast File System" || partitions[j].Type == "Sun boot") { part = j; break; diff --git a/DiscImageChef.Tests/Filesystems/UFS_Suni86.cs b/DiscImageChef.Tests/Filesystems/UFS_Suni86.cs index 63682716..453666c5 100644 --- a/DiscImageChef.Tests/Filesystems/UFS_Suni86.cs +++ b/DiscImageChef.Tests/Filesystems/UFS_Suni86.cs @@ -99,7 +99,7 @@ namespace DiscImageChef.Tests.Filesystems int part = -1; for(int j = 0; j < partitions.Count; j++) { - if(partitions[j].Type == "Unknown") + if(partitions[j].Type == "Replacement sectors") { part = j; break;