]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libfdisk: (tests) fix tests for removal of non-blockdev sync()
authorThomas Weißschuh <thomas@t-8ch.de>
Tue, 16 Jan 2024 13:34:54 +0000 (14:34 +0100)
committerThomas Weißschuh <thomas@t-8ch.de>
Tue, 16 Jan 2024 13:34:54 +0000 (14:34 +0100)
Fixes: 101dca2f18eb ("libfdisk: fdisk_deassign_device: only sync(2) blockdevs")
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
tests/expected/fdisk/mbr-nondos-mode-first-sector-at-end
tests/expected/fdisk/sunlabel-create-second-partition
tests/expected/libfdisk/gpt-all-defaults
tests/expected/libfdisk/gpt-all-defaults-with-typo

index 3656a0b874307cedf233d98571ceb6b91d6a9db5..0251f31925b1387899332232e771ea61e0cdb707 100644 (file)
@@ -27,7 +27,6 @@ Select (default p): Partition number (2-4, default 2): First sector (2048-19999,
 Created a new partition <removed>.
 
 Command (m for help): The partition table has been altered.
-Syncing disks.
 
 
 ---layout----------
index f6442d32e5174524a1ab83bbe40441396039db82..124f71b8ed3a5dd670d280e128a903769230e69a 100644 (file)
@@ -8,7 +8,6 @@ Command (m for help): Partition number (2-8, default 2): First cylinder (128-325
 Created a new partition <removed>.
 
 Command (m for help): The partition table has been altered.
-Syncing disks.
 
 a87e80830aa13d2d68b766962f052750 sunlabel.img
 Disk <removed>: 10 MiB, 10485760 bytes, 20480 sectors
index 218338a8f89a880666707204a47db8ca671b1c7a..e9df0bdf65b08d23e9aff1f3d0773a69408e6973 100644 (file)
@@ -21,4 +21,3 @@ Device             Start   End Sectors Size Type
 <removed>2 12288 18431    6144   3M Linux filesystem
 
 The partition table has been altered.
-Syncing disks.
index 218338a8f89a880666707204a47db8ca671b1c7a..e9df0bdf65b08d23e9aff1f3d0773a69408e6973 100644 (file)
@@ -21,4 +21,3 @@ Device             Start   End Sectors Size Type
 <removed>2 12288 18431    6144   3M Linux filesystem
 
 The partition table has been altered.
-Syncing disks.