Signed-off-by: Karel Zak <kzak@redhat.com>
};
struct sfdisk {
- int act; /* action */
+ int act; /* ACT_* */
int partno; /* -N <partno>, default -1 */
const char *label; /* --label <label> */
const char *label_nested; /* --label-nested <label> */
--- /dev/null
+Disk <removed>: 50 MiB, 52428800 bytes, 102400 sectors
+Units: sectors of 1 * 512 = 512 bytes
+Sector size (logical/physical): 512 bytes / 4096 bytes
+I/O size (minimum/optimal): 4096 bytes / 32768 bytes
+Disklabel type: dos
+Disk identifier: <removed>
+
+Device Boot Start End Sectors Size Id Type
+<removed>1 1 102399 102399 50M ee GPT
ts_finalize_subtest
+ts_init_subtest "list-pmbr"
+$TS_CMD_SFDISK --list --label-nested dos ${TS_DEVICE} >> $TS_OUTPUT 2>&1
+ts_fdisk_clean $TS_DEVICE
+ts_finalize_subtest
+
+
rmmod scsi_debug
ts_finalize