From 378c18e5f024ac5a8aef4cb40d7c9aa9633d144c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 16:30:35 +0200 Subject: Adding upstream version 2.38.1. Signed-off-by: Daniel Baumann --- tests/expected/sfdisk/wipe-gpt-to-dos-auto | 58 ++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 tests/expected/sfdisk/wipe-gpt-to-dos-auto (limited to 'tests/expected/sfdisk/wipe-gpt-to-dos-auto') diff --git a/tests/expected/sfdisk/wipe-gpt-to-dos-auto b/tests/expected/sfdisk/wipe-gpt-to-dos-auto new file mode 100644 index 0000000..2047a61 --- /dev/null +++ b/tests/expected/sfdisk/wipe-gpt-to-dos-auto @@ -0,0 +1,58 @@ + +=====Create GPT================================ +Disk : 50 MiB, 52428800 bytes, 102400 sectors +Disk model: scsi_debug +Units: sectors of 1 * 512 = 512 bytes +Sector size (logical/physical): 512 bytes / 4096 bytes +I/O size (minimum/optimal): 4096 bytes / bytes +Disklabel type: dos +Disk identifier: + +Old situation: + +Device Boot Start End Sectors Size Id Type +1 2048 102399 100352 49M 83 Linux + +>>> Created a new disklabel. +1: Created a new partition . +2: Done. + +New situation: +Disklabel type: gpt +Disk identifier: + +Device Start End Sectors Size Type +1 2048 100351 98304 48M Linux filesystem + +The partition table has been altered. + +=====Create DOS================================ +Disk : 50 MiB, 52428800 bytes, 102400 sectors +Disk model: scsi_debug +Units: sectors of 1 * 512 = 512 bytes +Sector size (logical/physical): 512 bytes / 4096 bytes +I/O size (minimum/optimal): 4096 bytes / bytes +Disklabel type: gpt +Disk identifier: + +Old situation: + +Device Start End Sectors Size Type +1 2048 100351 98304 48M Linux filesystem + +>>> Created a new disklabel. +1: Created a new partition . +2: Done. + +New situation: +Disklabel type: dos +Disk identifier: + +Device Boot Start End Sectors Size Id Type +1 2048 102399 100352 49M 83 Linux + +The partition table has been altered. + +=====Check content================================ +OFFSET TYPE +0x1fe dos -- cgit v1.2.3