--- /dev/null
+label: gpt
+label-id: 613005F9-1C8C-E141-8AEB-F32E8E296C75
+device: <removed>
+unit: sectors
+first-lba: 2048
+last-lba: 204766
+sector-size: 512
+
+1 : start= 2048, size= 20480, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, uuid=28A432A3-8D63-3142-B9F5-68A2BF2BC60B
+2 : start= 22528, size= 22528, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, uuid=6A7D17FC-7252-564A-9B68-5E2107999BF1
+3 : start= 45056, size= 24576, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, uuid=26C303E4-0321-3346-B9EF-BDD39BEA1166
+4 : start= 69632, size= 135135, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, uuid=AF79D434-C8B3-2445-80FB-317AB157447C
--- /dev/null
+{
+ "partitiontable": {
+ "label": "gpt",
+ "id": "613005F9-1C8C-E141-8AEB-F32E8E296C75",
+ "device": "<removed>",
+ "unit": "sectors",
+ "firstlba": 2048,
+ "lastlba": 204766,
+ "sectorsize": 512,
+ "partitions": [
+ {
+ "node": "1",
+ "start": 2048,
+ "size": 20480,
+ "type": "0FC63DAF-8483-4772-8E79-3D69D8477DE4",
+ "uuid": "28A432A3-8D63-3142-B9F5-68A2BF2BC60B"
+ },{
+ "node": "2",
+ "start": 22528,
+ "size": 22528,
+ "type": "0FC63DAF-8483-4772-8E79-3D69D8477DE4",
+ "uuid": "6A7D17FC-7252-564A-9B68-5E2107999BF1"
+ },{
+ "node": "3",
+ "start": 45056,
+ "size": 24576,
+ "type": "0FC63DAF-8483-4772-8E79-3D69D8477DE4",
+ "uuid": "26C303E4-0321-3346-B9EF-BDD39BEA1166"
+ },{
+ "node": "4",
+ "start": 69632,
+ "size": 135135,
+ "type": "0FC63DAF-8483-4772-8E79-3D69D8477DE4",
+ "uuid": "AF79D434-C8B3-2445-80FB-317AB157447C"
+ }
+ ]
+ }
+}
ts_fdisk_clean $TS_DEVICE
ts_finalize_subtest
+
+ts_init_subtest "no-device-names"
+$TS_CMD_SFDISK --dump --no-device-names ${TS_DEVICE} >> $TS_OUTPUT 2>> $TS_ERRLOG
+ts_fdisk_clean $TS_DEVICE
+ts_finalize_subtest
+
+
+ts_init_subtest "no-device-names-json"
+$TS_CMD_SFDISK --dump --no-device-names --json ${TS_DEVICE} >> $TS_OUTPUT 2>> $TS_ERRLOG
+ts_fdisk_clean $TS_DEVICE
+ts_finalize_subtest
+
ts_finalize