From 51d0f5b8724f28a8aef0230386e5dae30390d4a3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Thomas=20Wei=C3=9Fschuh?= Date: Tue, 16 Jan 2024 14:34:54 +0100 Subject: [PATCH] libfdisk: (tests) fix tests for removal of non-blockdev sync() MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fixes: 101dca2f18eb ("libfdisk: fdisk_deassign_device: only sync(2) blockdevs") Signed-off-by: Thomas Weißschuh --- tests/expected/fdisk/mbr-nondos-mode-first-sector-at-end | 1 - tests/expected/fdisk/sunlabel-create-second-partition | 1 - tests/expected/libfdisk/gpt-all-defaults | 1 - tests/expected/libfdisk/gpt-all-defaults-with-typo | 1 - 4 files changed, 4 deletions(-) diff --git a/tests/expected/fdisk/mbr-nondos-mode-first-sector-at-end b/tests/expected/fdisk/mbr-nondos-mode-first-sector-at-end index 3656a0b874..0251f31925 100644 --- a/tests/expected/fdisk/mbr-nondos-mode-first-sector-at-end +++ b/tests/expected/fdisk/mbr-nondos-mode-first-sector-at-end @@ -27,7 +27,6 @@ Select (default p): Partition number (2-4, default 2): First sector (2048-19999, Created a new partition . Command (m for help): The partition table has been altered. -Syncing disks. ---layout---------- diff --git a/tests/expected/fdisk/sunlabel-create-second-partition b/tests/expected/fdisk/sunlabel-create-second-partition index f6442d32e5..124f71b8ed 100644 --- a/tests/expected/fdisk/sunlabel-create-second-partition +++ b/tests/expected/fdisk/sunlabel-create-second-partition @@ -8,7 +8,6 @@ Command (m for help): Partition number (2-8, default 2): First cylinder (128-325 Created a new partition . Command (m for help): The partition table has been altered. -Syncing disks. a87e80830aa13d2d68b766962f052750 sunlabel.img Disk : 10 MiB, 10485760 bytes, 20480 sectors diff --git a/tests/expected/libfdisk/gpt-all-defaults b/tests/expected/libfdisk/gpt-all-defaults index 218338a8f8..e9df0bdf65 100644 --- a/tests/expected/libfdisk/gpt-all-defaults +++ b/tests/expected/libfdisk/gpt-all-defaults @@ -21,4 +21,3 @@ Device Start End Sectors Size Type 2 12288 18431 6144 3M Linux filesystem The partition table has been altered. -Syncing disks. diff --git a/tests/expected/libfdisk/gpt-all-defaults-with-typo b/tests/expected/libfdisk/gpt-all-defaults-with-typo index 218338a8f8..e9df0bdf65 100644 --- a/tests/expected/libfdisk/gpt-all-defaults-with-typo +++ b/tests/expected/libfdisk/gpt-all-defaults-with-typo @@ -21,4 +21,3 @@ Device Start End Sectors Size Type 2 12288 18431 6144 3M Linux filesystem The partition table has been altered. -Syncing disks. -- 2.39.5