tests: update libfdisk JSON outputs

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2021-05-06 17:02:40 +02:00
parent 940f9def45
commit fe58418e9d
2 changed files with 70 additions and 22 deletions

View File

@ -1,17 +1,43 @@
{
"partitiontable": {
"label":"dos",
"id":"0x1ddc8a79",
"device":"<removed>",
"unit":"sectors",
"sectorsize":512,
"label": "dos",
"id": "0x1ddc8a79",
"device": "<removed>",
"unit": "sectors",
"sectorsize": 512,
"partitions": [
{"node":"<removed>1", "start":2048, "size":6144, "type":"83", "bootable":true},
{"node":"<removed>2", "start":8192, "size":6144, "type":"82"},
{"node":"<removed>3", "start":14336, "size":6144, "type":"83"},
{"node":"<removed>4", "start":20480, "size":81920, "type":"5"},
{"node":"<removed>5", "start":20481, "size":6144, "type":"83"},
{"node":"<removed>6", "start":26626, "size":75774, "type":"83"}
{
"node": "<removed>1",
"start": 2048,
"size": 6144,
"type": "83",
"bootable": true
},{
"node": "<removed>2",
"start": 8192,
"size": 6144,
"type": "82"
},{
"node": "<removed>3",
"start": 14336,
"size": 6144,
"type": "83"
},{
"node": "<removed>4",
"start": 20480,
"size": 81920,
"type": "5"
},{
"node": "<removed>5",
"start": 20481,
"size": 6144,
"type": "83"
},{
"node": "<removed>6",
"start": 26626,
"size": 75774,
"type": "83"
}
]
}
}

View File

@ -1,17 +1,39 @@
{
"partitiontable": {
"label":"gpt",
"id":"3B8559DB-33AF-43E9-BEFC-C331D829B539",
"device":"<removed>",
"unit":"sectors",
"firstlba":2048,
"lastlba":102366,
"sectorsize":512,
"label": "gpt",
"id": "3B8559DB-33AF-43E9-BEFC-C331D829B539",
"device": "<removed>",
"unit": "sectors",
"firstlba": 2048,
"lastlba": 102366,
"sectorsize": 512,
"partitions": [
{"node":"<removed>1", "start":2048, "size":6144, "type":"44479540-F297-41B2-9AF7-D131D5F0458A", "uuid":"4DD6948A-44F8-4E6C-8BDC-064F740704F8"},
{"node":"<removed>2", "start":8192, "size":6144, "type":"0FC63DAF-8483-4772-8E79-3D69D8477DE4", "uuid":"44B51DEF-5F04-465A-91AA-2889A62D8E49"},
{"node":"<removed>3", "start":14336, "size":6144, "type":"0FC63DAF-8483-4772-8E79-3D69D8477DE4", "uuid":"643E1D0D-BC02-4CED-B83B-86121062858F"},
{"node":"<removed>4", "start":20480, "size":81887, "type":"0FC63DAF-8483-4772-8E79-3D69D8477DE4", "uuid":"D2A29B0A-FDEE-40C3-9BAE-B9FA782C986C", "name":"GPT is the best"}
{
"node": "<removed>1",
"start": 2048,
"size": 6144,
"type": "44479540-F297-41B2-9AF7-D131D5F0458A",
"uuid": "4DD6948A-44F8-4E6C-8BDC-064F740704F8"
},{
"node": "<removed>2",
"start": 8192,
"size": 6144,
"type": "0FC63DAF-8483-4772-8E79-3D69D8477DE4",
"uuid": "44B51DEF-5F04-465A-91AA-2889A62D8E49"
},{
"node": "<removed>3",
"start": 14336,
"size": 6144,
"type": "0FC63DAF-8483-4772-8E79-3D69D8477DE4",
"uuid": "643E1D0D-BC02-4CED-B83B-86121062858F"
},{
"node": "<removed>4",
"start": 20480,
"size": 81887,
"type": "0FC63DAF-8483-4772-8E79-3D69D8477DE4",
"uuid": "D2A29B0A-FDEE-40C3-9BAE-B9FA782C986C",
"name": "GPT is the best"
}
]
}
}