]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: update sfdisk JSON output
authorKarel Zak <kzak@redhat.com>
Fri, 6 Apr 2018 11:39:35 +0000 (13:39 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 6 Apr 2018 11:39:35 +0000 (13:39 +0200)
References: d881b773318dbd3f5ceb58a1e9a560fe0d1ac90a
Signed-off-by: Karel Zak <kzak@redhat.com>
tests/expected/sfdisk/dos-write-json
tests/expected/sfdisk/gpt-write-json

index 463590f224e15aade88fea7d94d3114c0e4e5753..b9259cd5996833d89a5731899df4751e65d77ac0 100644 (file)
@@ -1,16 +1,16 @@
 {
    "partitiontable": {
-      "label": "dos",
-      "id": "0x1ddc8a79",
-      "device": "<removed>",
-      "unit": "sectors",
+      "label":"dos",
+      "id":"0x1ddc8a79",
+      "device":"<removed>",
+      "unit":"sectors",
       "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"}
       ]
    }
 }
index 48aec21184a85596c1ab4c6b9d43d7c3ca29534d..f3944806a87d93753ef160d9e3c39d2847519457 100644 (file)
@@ -1,16 +1,16 @@
 {
    "partitiontable": {
-      "label": "gpt",
-      "id": "3B8559DB-33AF-43E9-BEFC-C331D829B539",
-      "device": "<removed>",
-      "unit": "sectors",
-      "firstlba": 2048,
-      "lastlba": 102366,
+      "label":"gpt",
+      "id":"3B8559DB-33AF-43E9-BEFC-C331D829B539",
+      "device":"<removed>",
+      "unit":"sectors",
+      "firstlba":2048,
+      "lastlba":102366,
       "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"}
       ]
    }
 }