]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: update fdisk outputs due to sizes rounding change
authorKarel Zak <kzak@redhat.com>
Thu, 16 Apr 2020 10:19:16 +0000 (12:19 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 16 Apr 2020 10:19:16 +0000 (12:19 +0200)
References: b38c20e13a51acb7e3bb388e9cc17d5fc905e7d9
Signed-off-by: Karel Zak <kzak@redhat.com>
tests/expected/blkid/md-raid0-whole
tests/expected/blkid/md-raid1-whole
tests/expected/fdisk/align-512-4K-md
tests/expected/fdisk/bsd_0_64.BE
tests/expected/fdisk/bsd_0_64.LE
tests/expected/fdisk/bsd_0_64_alpha.LE
tests/expected/fdisk/bsd_1_0.BE
tests/expected/fdisk/bsd_1_0.LE
tests/expected/fdisk/mbr-dos-mode
tests/expected/fdisk/sunlabel
tests/expected/partx/partx-image-dos+bsd

index 5ef99b64505753256be648567131caa02424c281..7c6ea59ce8abab2718fed21cc7bfde0c30ed3a2e 100644 (file)
@@ -19,7 +19,7 @@ Command (m for help): Partition type
 Select (default p): Partition number (2-4, default 2): First sector (22528-204543, default 22528): Last sector, +/-sectors or +/-size{K,M,G,T,P} (22528-204543, default 204543): 
 Created a new partition <removed>.
 
-Command (m for help): Disk <removed>: 99.9 MiB, 104726528 bytes, 204544 sectors
+Command (m for help): Disk <removed>: 99.88 MiB, 104726528 bytes, 204544 sectors
 Units: sectors of 1 * 512 = 512 bytes
 Sector size (logical/physical): 512 bytes / 512 bytes
 I/O size (minimum/optimal): 65536 bytes / <removed> bytes
index 60d3b877df628ef34e35e3eb824c23307b9637ac..1a354b9126ee0e5caa7d5e92f0a2b353fed91534 100644 (file)
@@ -19,7 +19,7 @@ Command (m for help): Partition type
 Select (default p): Partition number (2-4, default 2): First sector (22528-102271, default 22528): Last sector, +/-sectors or +/-size{K,M,G,T,P} (22528-102271, default 102271): 
 Created a new partition <removed>.
 
-Command (m for help): Disk /dev/md8: 49.96 MiB, 52363264 bytes, 102272 sectors
+Command (m for help): Disk /dev/md8: 49.94 MiB, 52363264 bytes, 102272 sectors
 Units: sectors of 1 * 512 = 512 bytes
 Sector size (logical/physical): 512 bytes / 512 bytes
 I/O size (minimum/optimal): <removed> bytes / <removed> bytes
index e6ccea5ccafe75a1f754b09e2cc49e102dddd5f3..d8ca0d778785df6d272e3d6ca7b2dcea1b7ca061 100644 (file)
@@ -60,7 +60,7 @@ Command (m for help): Partition type
 Select (default p): Partition number (2-4, default 2): First sector (22528-97791, default 22528): Last sector, +/-sectors or +/-size{K,M,G,T,P} (22528-97791, default 97791): 
 Created a new partition <removed>.
 
-Command (m for help): Disk <removed>: 47.77 MiB, 50069504 bytes, 97792 sectors
+Command (m for help): Disk <removed>: 47.75 MiB, 50069504 bytes, 97792 sectors
 Units: sectors of 1 * 512 = 512 bytes
 Sector size (logical/physical): 512 bytes / 4096 bytes
 I/O size (minimum/optimal): 65536 bytes / <removed> bytes
index cfdcc88f03cf7398b9e738819bada611e8f535e2..b502d0d6676632d7bba7887c3254d4256901294a 100644 (file)
@@ -132,7 +132,7 @@ Disklabel type: bsd
 
 Slice Start   End Sectors  Size Type     Fsize Bsize Cpg
 c      4096 20479   16384    8M unused       0     0   0
-d         0 16064   16065  7.9M unused       0     0   0
+d         0 16064   16065  7.8M unused       0     0   0
 
 Partition table entries are not in disk order.
 
@@ -186,7 +186,7 @@ Disklabel type: bsd
 Slice Start   End Sectors  Size Type     Fsize Bsize Cpg
 a      4096  6144    2049    1M 4.2BSD       0     0   0
 c      4096 20479   16384    8M unused       0     0   0
-d         0 16064   16065  7.9M unused       0     0   0
+d         0 16064   16065  7.8M unused       0     0   0
 
 Partition table entries are not in disk order.
 
index 7c21b5d0e7421f94ec7af624e1746bbf523a0ece..8b9897c2493c47926c56cf0bdc028ae7d24c04b8 100644 (file)
@@ -132,7 +132,7 @@ Disklabel type: bsd
 
 Slice Start   End Sectors  Size Type     Fsize Bsize Cpg
 c      4096 20479   16384    8M unused       0     0   0
-d         0 16064   16065  7.9M unused       0     0   0
+d         0 16064   16065  7.8M unused       0     0   0
 
 Partition table entries are not in disk order.
 
@@ -186,7 +186,7 @@ Disklabel type: bsd
 Slice Start   End Sectors  Size Type     Fsize Bsize Cpg
 a      4096  6144    2049    1M 4.2BSD       0     0   0
 c      4096 20479   16384    8M unused       0     0   0
-d         0 16064   16065  7.9M unused       0     0   0
+d         0 16064   16065  7.8M unused       0     0   0
 
 Partition table entries are not in disk order.
 
index ee7edecf7aa836f2bdf5abc366d17af8abd07dd8..6d41d4a11628b22dce1b29999e12bf8b60718c44 100644 (file)
@@ -134,7 +134,7 @@ Disklabel type: bsd
 
 Slice Start   End Sectors  Size Type     Fsize Bsize Cpg
 c      4096 20479   16384    8M unused       0     0   0
-d         0 16064   16065  7.9M unused       0     0   0
+d         0 16064   16065  7.8M unused       0     0   0
 
 Partition table entries are not in disk order.
 
@@ -190,7 +190,7 @@ Disklabel type: bsd
 Slice Start   End Sectors  Size Type     Fsize Bsize Cpg
 a      4096  6144    2049    1M 4.2BSD       0     0   0
 c      4096 20479   16384    8M unused       0     0   0
-d         0 16064   16065  7.9M unused       0     0   0
+d         0 16064   16065  7.8M unused       0     0   0
 
 Partition table entries are not in disk order.
 
index 21e243410619b71bf49215668ff5d33321f03d77..56dd69bd8ff915a5eb2911acb6231356bb6b5649 100644 (file)
@@ -132,7 +132,7 @@ Disklabel type: bsd
 
 Slice Start   End Sectors  Size Type     Fsize Bsize Cpg
 c      4096 20479   16384    8M unused       0     0   0
-d         0 16064   16065  7.9M unused       0     0   0
+d         0 16064   16065  7.8M unused       0     0   0
 
 Partition table entries are not in disk order.
 
@@ -186,7 +186,7 @@ Disklabel type: bsd
 Slice Start   End Sectors  Size Type     Fsize Bsize Cpg
 a      4096  6144    2049    1M 4.2BSD       0     0   0
 c      4096 20479   16384    8M unused       0     0   0
-d         0 16064   16065  7.9M unused       0     0   0
+d         0 16064   16065  7.8M unused       0     0   0
 
 Partition table entries are not in disk order.
 
index 8d2cafeda336e938816db6863f38761c40531cc6..492e2a6b91887b9e57f8f45f170a0100a206ee9b 100644 (file)
@@ -132,7 +132,7 @@ Disklabel type: bsd
 
 Slice Start   End Sectors  Size Type     Fsize Bsize Cpg
 c      4096 20479   16384    8M unused       0     0   0
-d         0 16064   16065  7.9M unused       0     0   0
+d         0 16064   16065  7.8M unused       0     0   0
 
 Partition table entries are not in disk order.
 
@@ -186,7 +186,7 @@ Disklabel type: bsd
 Slice Start   End Sectors  Size Type     Fsize Bsize Cpg
 a      4096  6144    2049    1M 4.2BSD       0     0   0
 c      4096 20479   16384    8M unused       0     0   0
-d         0 16064   16065  7.9M unused       0     0   0
+d         0 16064   16065  7.8M unused       0     0   0
 
 Partition table entries are not in disk order.
 
index 65600991980a25172038fff9b6c36120f1aac15b..5bc1fbf9c019fddb7481f79219c4448a5d0459bc 100644 (file)
@@ -98,7 +98,7 @@ Create logical partitions
 a1cd6708e4a6d2e5f6bc9d5c0da0cf3b mbr-dos-mode.img
 
 ---layout----------
-Disk <removed>: 54.93 MiB, 57577472 bytes, 112456 sectors
+Disk <removed>: 54.91 MiB, 57577472 bytes, 112456 sectors
 Geometry: 255 heads, 63 sectors/track, 1024 cylinders
 Units: cylinders of 16065 * 512 = 8225280 bytes
 Sector size (logical/physical): 512 bytes / 512 bytes
@@ -119,7 +119,7 @@ Delete logical partitions
 4c6937d529ace5661fb82efb9394154a mbr-dos-mode.img
 
 ---layout----------
-Disk <removed>: 54.93 MiB, 57577472 bytes, 112456 sectors
+Disk <removed>: 54.91 MiB, 57577472 bytes, 112456 sectors
 Geometry: 255 heads, 63 sectors/track, 1024 cylinders
 Units: cylinders of 16065 * 512 = 8225280 bytes
 Sector size (logical/physical): 512 bytes / 512 bytes
@@ -137,7 +137,7 @@ Create another logical partition
 9589eaaed698d2402945ab3e513c1eb4 mbr-dos-mode.img
 
 ---layout----------
-Disk <removed>: 54.93 MiB, 57577472 bytes, 112456 sectors
+Disk <removed>: 54.91 MiB, 57577472 bytes, 112456 sectors
 Geometry: 255 heads, 63 sectors/track, 1024 cylinders
 Units: cylinders of 16065 * 512 = 8225280 bytes
 Sector size (logical/physical): 512 bytes / 512 bytes
@@ -158,7 +158,7 @@ Delete primary partition
 1e6d646e5df66a2664cfbbb13fa9a08a mbr-dos-mode.img
 
 ---layout----------
-Disk <removed>: 54.93 MiB, 57577472 bytes, 112456 sectors
+Disk <removed>: 54.91 MiB, 57577472 bytes, 112456 sectors
 Geometry: 255 heads, 63 sectors/track, 1024 cylinders
 Units: cylinders of 16065 * 512 = 8225280 bytes
 Sector size (logical/physical): 512 bytes / 512 bytes
@@ -178,7 +178,7 @@ Delete extended partition
 fc3cdb12326656d7996b09b6f76973e7 mbr-dos-mode.img
 
 ---layout----------
-Disk <removed>: 54.93 MiB, 57577472 bytes, 112456 sectors
+Disk <removed>: 54.91 MiB, 57577472 bytes, 112456 sectors
 Geometry: 255 heads, 63 sectors/track, 1024 cylinders
 Units: cylinders of 16065 * 512 = 8225280 bytes
 Sector size (logical/physical): 512 bytes / 512 bytes
index 33bdad167555d4fc36fabf7fb9e2e5bc154ae463..5a24dd2d6b9890c5f809a9565e027f937ad3c999 100644 (file)
@@ -17,8 +17,8 @@ Sector size (logical/physical): 512 bytes / 512 bytes
 I/O size (minimum/optimal): 512 bytes / <removed> bytes
 Disklabel type: sun
 
-Device             Start   End Cylinders Size Id Type         Flags
-<removed>1     1   128       129   4M 83 Linux native 
+Device             Start   End Cylinders  Size Id Type         Flags
+<removed>1     1   128       129  3.9M 83 Linux native 
 Set partition sysid
 df75defdb97fbd56222aed18631a22d0 sunlabel.img
 Disk <removed>: 10 MiB, 10485760 bytes, 20480 sectors
@@ -28,8 +28,8 @@ Sector size (logical/physical): 512 bytes / 512 bytes
 I/O size (minimum/optimal): 512 bytes / <removed> bytes
 Disklabel type: sun
 
-Device             Start   End Cylinders Size Id Type      Flags
-<removed>1     1   128       129   4M  4 SunOS usr 
+Device             Start   End Cylinders  Size Id Type      Flags
+<removed>1     1   128       129  3.9M  4 SunOS usr 
 Set first partition readonly
 da23f66698d9a553162887621d4c7490 sunlabel.img
 Disk <removed>: 10 MiB, 10485760 bytes, 20480 sectors
@@ -39,8 +39,8 @@ Sector size (logical/physical): 512 bytes / 512 bytes
 I/O size (minimum/optimal): 512 bytes / <removed> bytes
 Disklabel type: sun
 
-Device             Start   End Cylinders Size Id Type      Flags
-<removed>1     1   128       129   4M  4 SunOS usr     r
+Device             Start   End Cylinders  Size Id Type      Flags
+<removed>1     1   128       129  3.9M  4 SunOS usr     r
 Set first partition mountable
 3ab76e8491b103eab52b2ae1856c1e30 sunlabel.img
 Disk <removed>: 10 MiB, 10485760 bytes, 20480 sectors
@@ -50,8 +50,8 @@ Sector size (logical/physical): 512 bytes / 512 bytes
 I/O size (minimum/optimal): 512 bytes / <removed> bytes
 Disklabel type: sun
 
-Device             Start   End Cylinders Size Id Type      Flags
-<removed>1     1   128       129   4M  4 SunOS usr    ur
+Device             Start   End Cylinders  Size Id Type      Flags
+<removed>1     1   128       129  3.9M  4 SunOS usr    ur
 Create second partition
 
 Welcome to fdisk <removed>.
@@ -74,7 +74,7 @@ I/O size (minimum/optimal): 512 bytes / <removed> bytes
 Disklabel type: sun
 
 Device             Start   End Cylinders  Size Id Type         Flags
-<removed>1     1   128       129    4M  4 SunOS usr       ur
+<removed>1     1   128       129  3.9M  4 SunOS usr       ur
 <removed>2   129   325       198  6.1M 83 Linux native 
 Delete all partitions
 502ba7a0cfdce2849c3a99881f0590c3 sunlabel.img
index 379633d9db5b7bc3493fb9fca22c342d38b1123c..ae5f314a50d23ff7bf3ce56db6f08eba5e8c74b4 100644 (file)
@@ -1,5 +1,5 @@
 NR START   END SECTORS SIZE NAME UUID
- 1    32  7679    7648 3.8M      8f8378c0-01
+ 1    32  7679    7648 3.7M      8f8378c0-01
  2  7680 16383    8704 4.3M      8f8378c0-02
  5  7936 12799    4864 2.4M      
  6 12544 16127    3584 1.8M