diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 14:30:35 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 14:30:35 +0000 |
commit | 378c18e5f024ac5a8aef4cb40d7c9aa9633d144c (patch) | |
tree | 44dfb6ca500d32cabd450649b322a42e70a30683 /tests/expected/sfdisk/gpt-attrs | |
parent | Initial commit. (diff) | |
download | util-linux-378c18e5f024ac5a8aef4cb40d7c9aa9633d144c.tar.xz util-linux-378c18e5f024ac5a8aef4cb40d7c9aa9633d144c.zip |
Adding upstream version 2.38.1.upstream/2.38.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | tests/expected/sfdisk/gpt-attrs | 102 | ||||
-rw-r--r-- | tests/expected/sfdisk/gpt-attrs-broken-guid | 0 | ||||
-rw-r--r-- | tests/expected/sfdisk/gpt-attrs-broken-guid.err | 2 | ||||
-rw-r--r-- | tests/expected/sfdisk/gpt-attrs-broken-nosep | 0 | ||||
-rw-r--r-- | tests/expected/sfdisk/gpt-attrs-broken-nosep.err | 2 | ||||
-rw-r--r-- | tests/expected/sfdisk/gpt-attrs-guid | 102 | ||||
-rw-r--r-- | tests/expected/sfdisk/gpt-attrs-guid.err | 0 | ||||
-rw-r--r-- | tests/expected/sfdisk/gpt-attrs-space | 102 | ||||
-rw-r--r-- | tests/expected/sfdisk/gpt-attrs-space.err | 0 | ||||
-rw-r--r-- | tests/expected/sfdisk/gpt-attrs-unsupported | 0 | ||||
-rw-r--r-- | tests/expected/sfdisk/gpt-attrs-unsupported.err | 2 | ||||
-rw-r--r-- | tests/expected/sfdisk/gpt-attrs-with-typo | 102 | ||||
-rw-r--r-- | tests/expected/sfdisk/gpt-attrs-with-typo.err | 0 | ||||
-rw-r--r-- | tests/expected/sfdisk/gpt-attrs.err | 0 |
14 files changed, 414 insertions, 0 deletions
diff --git a/tests/expected/sfdisk/gpt-attrs b/tests/expected/sfdisk/gpt-attrs new file mode 100644 index 0000000..7cbfee4 --- /dev/null +++ b/tests/expected/sfdisk/gpt-attrs @@ -0,0 +1,102 @@ + +The partition table has been altered. +Calling ioctl() to re-read partition table. +Syncing disks. +RequiredPartition NoBlockIOProtocol GUID:48,51 + +Welcome to fdisk <removed>. +Changes will remain in memory only, until you decide to write them. +Be careful before using the write command. + + +Command (m for help): +Expert command (m for help): +PMBR: offset = 0, size = 512 bytes. +00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* +000001c0 02 00 ee ff ff ff 01 00 00 00 ff 8f 01 00 00 00 +000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* +000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa + +GPT Header: offset = 512, size = 512 bytes. +00000200 45 46 49 20 50 41 52 54 00 00 01 00 5c 00 00 00 +00000210 9b 58 15 32 00 00 00 00 01 00 00 00 00 00 00 00 +00000220 ff 8f 01 00 00 00 00 00 00 08 00 00 00 00 00 00 +00000230 de 8f 01 00 00 00 00 00 99 c3 81 b1 11 47 52 4c +00000240 8b 65 9e 76 45 41 21 8d 02 00 00 00 00 00 00 00 +00000250 80 00 00 00 80 00 00 00 25 86 e1 c0 00 00 00 00 +00000260 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* + +GPT Entries: offset = 1024, size = 16384 bytes. +00000400 28 73 2a c1 1f f8 d2 11 ba 4b 00 a0 c9 3e c9 3b +00000410 7b 65 dc 91 b4 d7 53 46 a3 67 66 31 94 ff d4 32 +00000420 00 08 00 00 00 00 00 00 ff 2f 00 00 00 00 00 00 +00000430 00 00 00 00 00 00 00 00 45 00 46 00 49 00 20 00 +00000440 73 00 79 00 73 00 74 00 65 00 6d 00 00 00 00 00 +00000450 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* +00000480 af 3d c6 0f 83 84 72 47 8e 79 3d 69 d8 47 7d e4 +00000490 df 8a a0 ba 7e 32 77 41 89 53 98 da 1a 51 76 c4 +000004a0 00 30 00 00 00 00 00 00 ff 57 00 00 00 00 00 00 +000004b0 03 00 00 00 00 00 09 00 00 00 00 00 00 00 00 00 +000004c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* +00000500 6d fd 57 06 ab a4 c4 43 84 e5 09 33 c8 4b 4f 4f +00000510 87 8a ad ce 1a ff cb 45 83 e5 99 b0 8d 0e bc 87 +00000520 00 58 00 00 00 00 00 00 ff 7f 00 00 00 00 00 00 +00000530 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* +00000580 e3 bc 68 4f cd e8 b1 4d 96 e7 fb ca f9 84 b7 09 +00000590 60 dc fc d4 5d 76 c3 4b bd 84 0d 0b 98 42 c6 db +000005a0 00 80 00 00 00 00 00 00 ff a7 00 00 00 00 00 00 +000005b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* +00000600 af 3d c6 0f 83 84 72 47 8e 79 3d 69 d8 47 7d e4 +00000610 d7 5b 15 60 d8 bf 8c 4e b8 00 22 19 00 77 93 73 +00000620 00 a8 00 00 00 00 00 00 ff 87 01 00 00 00 00 00 +00000630 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* + +GPT Backup Entries: offset = 52411904, size = 16384 bytes. +031fbe00 28 73 2a c1 1f f8 d2 11 ba 4b 00 a0 c9 3e c9 3b +031fbe10 7b 65 dc 91 b4 d7 53 46 a3 67 66 31 94 ff d4 32 +031fbe20 00 08 00 00 00 00 00 00 ff 2f 00 00 00 00 00 00 +031fbe30 00 00 00 00 00 00 00 00 45 00 46 00 49 00 20 00 +031fbe40 73 00 79 00 73 00 74 00 65 00 6d 00 00 00 00 00 +031fbe50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* +031fbe80 af 3d c6 0f 83 84 72 47 8e 79 3d 69 d8 47 7d e4 +031fbe90 df 8a a0 ba 7e 32 77 41 89 53 98 da 1a 51 76 c4 +031fbea0 00 30 00 00 00 00 00 00 ff 57 00 00 00 00 00 00 +031fbeb0 03 00 00 00 00 00 09 00 00 00 00 00 00 00 00 00 +031fbec0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* +031fbf00 6d fd 57 06 ab a4 c4 43 84 e5 09 33 c8 4b 4f 4f +031fbf10 87 8a ad ce 1a ff cb 45 83 e5 99 b0 8d 0e bc 87 +031fbf20 00 58 00 00 00 00 00 00 ff 7f 00 00 00 00 00 00 +031fbf30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* +031fbf80 e3 bc 68 4f cd e8 b1 4d 96 e7 fb ca f9 84 b7 09 +031fbf90 60 dc fc d4 5d 76 c3 4b bd 84 0d 0b 98 42 c6 db +031fbfa0 00 80 00 00 00 00 00 00 ff a7 00 00 00 00 00 00 +031fbfb0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* +031fc000 af 3d c6 0f 83 84 72 47 8e 79 3d 69 d8 47 7d e4 +031fc010 d7 5b 15 60 d8 bf 8c 4e b8 00 22 19 00 77 93 73 +031fc020 00 a8 00 00 00 00 00 00 ff 87 01 00 00 00 00 00 +031fc030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* + +GPT Backup Header: offset = 52428288, size = 512 bytes. +031ffe00 45 46 49 20 50 41 52 54 00 00 01 00 5c 00 00 00 +031ffe10 22 e2 97 b2 00 00 00 00 ff 8f 01 00 00 00 00 00 +031ffe20 01 00 00 00 00 00 00 00 00 08 00 00 00 00 00 00 +031ffe30 de 8f 01 00 00 00 00 00 99 c3 81 b1 11 47 52 4c +031ffe40 8b 65 9e 76 45 41 21 8d df 8f 01 00 00 00 00 00 +031ffe50 80 00 00 00 80 00 00 00 25 86 e1 c0 00 00 00 00 +031ffe60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* + +Expert command (m for help): diff --git a/tests/expected/sfdisk/gpt-attrs-broken-guid b/tests/expected/sfdisk/gpt-attrs-broken-guid new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/expected/sfdisk/gpt-attrs-broken-guid diff --git a/tests/expected/sfdisk/gpt-attrs-broken-guid.err b/tests/expected/sfdisk/gpt-attrs-broken-guid.err new file mode 100644 index 0000000..3e57341 --- /dev/null +++ b/tests/expected/sfdisk/gpt-attrs-broken-guid.err @@ -0,0 +1,2 @@ +unsupported GPT attribute bit 'GUID:NoBlockIOProtocol GUID:GUID:63 RequiredPartiton' +sfdisk: <removed>: partition 2: failed to set partition attributes diff --git a/tests/expected/sfdisk/gpt-attrs-broken-nosep b/tests/expected/sfdisk/gpt-attrs-broken-nosep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/expected/sfdisk/gpt-attrs-broken-nosep diff --git a/tests/expected/sfdisk/gpt-attrs-broken-nosep.err b/tests/expected/sfdisk/gpt-attrs-broken-nosep.err new file mode 100644 index 0000000..946979c --- /dev/null +++ b/tests/expected/sfdisk/gpt-attrs-broken-nosep.err @@ -0,0 +1,2 @@ +failed to parse GPT attribute string 'NoBlockIOProtocolRequiredPartiton' +sfdisk: <removed>: partition 2: failed to set partition attributes diff --git a/tests/expected/sfdisk/gpt-attrs-guid b/tests/expected/sfdisk/gpt-attrs-guid new file mode 100644 index 0000000..9797b49 --- /dev/null +++ b/tests/expected/sfdisk/gpt-attrs-guid @@ -0,0 +1,102 @@ + +The partition table has been altered. +Calling ioctl() to re-read partition table. +Syncing disks. +GUID:48,51,52,63 + +Welcome to fdisk <removed>. +Changes will remain in memory only, until you decide to write them. +Be careful before using the write command. + + +Command (m for help): +Expert command (m for help): +PMBR: offset = 0, size = 512 bytes. +00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* +000001c0 02 00 ee ff ff ff 01 00 00 00 ff 8f 01 00 00 00 +000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* +000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa + +GPT Header: offset = 512, size = 512 bytes. +00000200 45 46 49 20 50 41 52 54 00 00 01 00 5c 00 00 00 +00000210 5a a7 90 27 00 00 00 00 01 00 00 00 00 00 00 00 +00000220 ff 8f 01 00 00 00 00 00 00 08 00 00 00 00 00 00 +00000230 de 8f 01 00 00 00 00 00 99 c3 81 b1 11 47 52 4c +00000240 8b 65 9e 76 45 41 21 8d 02 00 00 00 00 00 00 00 +00000250 80 00 00 00 80 00 00 00 af 59 5c 2a 00 00 00 00 +00000260 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* + +GPT Entries: offset = 1024, size = 16384 bytes. +00000400 28 73 2a c1 1f f8 d2 11 ba 4b 00 a0 c9 3e c9 3b +00000410 7b 65 dc 91 b4 d7 53 46 a3 67 66 31 94 ff d4 32 +00000420 00 08 00 00 00 00 00 00 ff 2f 00 00 00 00 00 00 +00000430 00 00 00 00 00 00 00 00 45 00 46 00 49 00 20 00 +00000440 73 00 79 00 73 00 74 00 65 00 6d 00 00 00 00 00 +00000450 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* +00000480 af 3d c6 0f 83 84 72 47 8e 79 3d 69 d8 47 7d e4 +00000490 df 8a a0 ba 7e 32 77 41 89 53 98 da 1a 51 76 c4 +000004a0 00 30 00 00 00 00 00 00 ff 57 00 00 00 00 00 00 +000004b0 00 00 00 00 00 00 19 80 00 00 00 00 00 00 00 00 +000004c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* +00000500 6d fd 57 06 ab a4 c4 43 84 e5 09 33 c8 4b 4f 4f +00000510 87 8a ad ce 1a ff cb 45 83 e5 99 b0 8d 0e bc 87 +00000520 00 58 00 00 00 00 00 00 ff 7f 00 00 00 00 00 00 +00000530 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* +00000580 e3 bc 68 4f cd e8 b1 4d 96 e7 fb ca f9 84 b7 09 +00000590 60 dc fc d4 5d 76 c3 4b bd 84 0d 0b 98 42 c6 db +000005a0 00 80 00 00 00 00 00 00 ff a7 00 00 00 00 00 00 +000005b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* +00000600 af 3d c6 0f 83 84 72 47 8e 79 3d 69 d8 47 7d e4 +00000610 d7 5b 15 60 d8 bf 8c 4e b8 00 22 19 00 77 93 73 +00000620 00 a8 00 00 00 00 00 00 ff 87 01 00 00 00 00 00 +00000630 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* + +GPT Backup Entries: offset = 52411904, size = 16384 bytes. +031fbe00 28 73 2a c1 1f f8 d2 11 ba 4b 00 a0 c9 3e c9 3b +031fbe10 7b 65 dc 91 b4 d7 53 46 a3 67 66 31 94 ff d4 32 +031fbe20 00 08 00 00 00 00 00 00 ff 2f 00 00 00 00 00 00 +031fbe30 00 00 00 00 00 00 00 00 45 00 46 00 49 00 20 00 +031fbe40 73 00 79 00 73 00 74 00 65 00 6d 00 00 00 00 00 +031fbe50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* +031fbe80 af 3d c6 0f 83 84 72 47 8e 79 3d 69 d8 47 7d e4 +031fbe90 df 8a a0 ba 7e 32 77 41 89 53 98 da 1a 51 76 c4 +031fbea0 00 30 00 00 00 00 00 00 ff 57 00 00 00 00 00 00 +031fbeb0 00 00 00 00 00 00 19 80 00 00 00 00 00 00 00 00 +031fbec0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* +031fbf00 6d fd 57 06 ab a4 c4 43 84 e5 09 33 c8 4b 4f 4f +031fbf10 87 8a ad ce 1a ff cb 45 83 e5 99 b0 8d 0e bc 87 +031fbf20 00 58 00 00 00 00 00 00 ff 7f 00 00 00 00 00 00 +031fbf30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* +031fbf80 e3 bc 68 4f cd e8 b1 4d 96 e7 fb ca f9 84 b7 09 +031fbf90 60 dc fc d4 5d 76 c3 4b bd 84 0d 0b 98 42 c6 db +031fbfa0 00 80 00 00 00 00 00 00 ff a7 00 00 00 00 00 00 +031fbfb0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* +031fc000 af 3d c6 0f 83 84 72 47 8e 79 3d 69 d8 47 7d e4 +031fc010 d7 5b 15 60 d8 bf 8c 4e b8 00 22 19 00 77 93 73 +031fc020 00 a8 00 00 00 00 00 00 ff 87 01 00 00 00 00 00 +031fc030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* + +GPT Backup Header: offset = 52428288, size = 512 bytes. +031ffe00 45 46 49 20 50 41 52 54 00 00 01 00 5c 00 00 00 +031ffe10 e3 1d 12 a7 00 00 00 00 ff 8f 01 00 00 00 00 00 +031ffe20 01 00 00 00 00 00 00 00 00 08 00 00 00 00 00 00 +031ffe30 de 8f 01 00 00 00 00 00 99 c3 81 b1 11 47 52 4c +031ffe40 8b 65 9e 76 45 41 21 8d df 8f 01 00 00 00 00 00 +031ffe50 80 00 00 00 80 00 00 00 af 59 5c 2a 00 00 00 00 +031ffe60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* + +Expert command (m for help): diff --git a/tests/expected/sfdisk/gpt-attrs-guid.err b/tests/expected/sfdisk/gpt-attrs-guid.err new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/expected/sfdisk/gpt-attrs-guid.err diff --git a/tests/expected/sfdisk/gpt-attrs-space b/tests/expected/sfdisk/gpt-attrs-space new file mode 100644 index 0000000..7cbfee4 --- /dev/null +++ b/tests/expected/sfdisk/gpt-attrs-space @@ -0,0 +1,102 @@ + +The partition table has been altered. +Calling ioctl() to re-read partition table. +Syncing disks. +RequiredPartition NoBlockIOProtocol GUID:48,51 + +Welcome to fdisk <removed>. +Changes will remain in memory only, until you decide to write them. +Be careful before using the write command. + + +Command (m for help): +Expert command (m for help): +PMBR: offset = 0, size = 512 bytes. +00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* +000001c0 02 00 ee ff ff ff 01 00 00 00 ff 8f 01 00 00 00 +000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* +000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa + +GPT Header: offset = 512, size = 512 bytes. +00000200 45 46 49 20 50 41 52 54 00 00 01 00 5c 00 00 00 +00000210 9b 58 15 32 00 00 00 00 01 00 00 00 00 00 00 00 +00000220 ff 8f 01 00 00 00 00 00 00 08 00 00 00 00 00 00 +00000230 de 8f 01 00 00 00 00 00 99 c3 81 b1 11 47 52 4c +00000240 8b 65 9e 76 45 41 21 8d 02 00 00 00 00 00 00 00 +00000250 80 00 00 00 80 00 00 00 25 86 e1 c0 00 00 00 00 +00000260 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* + +GPT Entries: offset = 1024, size = 16384 bytes. +00000400 28 73 2a c1 1f f8 d2 11 ba 4b 00 a0 c9 3e c9 3b +00000410 7b 65 dc 91 b4 d7 53 46 a3 67 66 31 94 ff d4 32 +00000420 00 08 00 00 00 00 00 00 ff 2f 00 00 00 00 00 00 +00000430 00 00 00 00 00 00 00 00 45 00 46 00 49 00 20 00 +00000440 73 00 79 00 73 00 74 00 65 00 6d 00 00 00 00 00 +00000450 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* +00000480 af 3d c6 0f 83 84 72 47 8e 79 3d 69 d8 47 7d e4 +00000490 df 8a a0 ba 7e 32 77 41 89 53 98 da 1a 51 76 c4 +000004a0 00 30 00 00 00 00 00 00 ff 57 00 00 00 00 00 00 +000004b0 03 00 00 00 00 00 09 00 00 00 00 00 00 00 00 00 +000004c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* +00000500 6d fd 57 06 ab a4 c4 43 84 e5 09 33 c8 4b 4f 4f +00000510 87 8a ad ce 1a ff cb 45 83 e5 99 b0 8d 0e bc 87 +00000520 00 58 00 00 00 00 00 00 ff 7f 00 00 00 00 00 00 +00000530 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* +00000580 e3 bc 68 4f cd e8 b1 4d 96 e7 fb ca f9 84 b7 09 +00000590 60 dc fc d4 5d 76 c3 4b bd 84 0d 0b 98 42 c6 db +000005a0 00 80 00 00 00 00 00 00 ff a7 00 00 00 00 00 00 +000005b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* +00000600 af 3d c6 0f 83 84 72 47 8e 79 3d 69 d8 47 7d e4 +00000610 d7 5b 15 60 d8 bf 8c 4e b8 00 22 19 00 77 93 73 +00000620 00 a8 00 00 00 00 00 00 ff 87 01 00 00 00 00 00 +00000630 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* + +GPT Backup Entries: offset = 52411904, size = 16384 bytes. +031fbe00 28 73 2a c1 1f f8 d2 11 ba 4b 00 a0 c9 3e c9 3b +031fbe10 7b 65 dc 91 b4 d7 53 46 a3 67 66 31 94 ff d4 32 +031fbe20 00 08 00 00 00 00 00 00 ff 2f 00 00 00 00 00 00 +031fbe30 00 00 00 00 00 00 00 00 45 00 46 00 49 00 20 00 +031fbe40 73 00 79 00 73 00 74 00 65 00 6d 00 00 00 00 00 +031fbe50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* +031fbe80 af 3d c6 0f 83 84 72 47 8e 79 3d 69 d8 47 7d e4 +031fbe90 df 8a a0 ba 7e 32 77 41 89 53 98 da 1a 51 76 c4 +031fbea0 00 30 00 00 00 00 00 00 ff 57 00 00 00 00 00 00 +031fbeb0 03 00 00 00 00 00 09 00 00 00 00 00 00 00 00 00 +031fbec0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* +031fbf00 6d fd 57 06 ab a4 c4 43 84 e5 09 33 c8 4b 4f 4f +031fbf10 87 8a ad ce 1a ff cb 45 83 e5 99 b0 8d 0e bc 87 +031fbf20 00 58 00 00 00 00 00 00 ff 7f 00 00 00 00 00 00 +031fbf30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* +031fbf80 e3 bc 68 4f cd e8 b1 4d 96 e7 fb ca f9 84 b7 09 +031fbf90 60 dc fc d4 5d 76 c3 4b bd 84 0d 0b 98 42 c6 db +031fbfa0 00 80 00 00 00 00 00 00 ff a7 00 00 00 00 00 00 +031fbfb0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* +031fc000 af 3d c6 0f 83 84 72 47 8e 79 3d 69 d8 47 7d e4 +031fc010 d7 5b 15 60 d8 bf 8c 4e b8 00 22 19 00 77 93 73 +031fc020 00 a8 00 00 00 00 00 00 ff 87 01 00 00 00 00 00 +031fc030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* + +GPT Backup Header: offset = 52428288, size = 512 bytes. +031ffe00 45 46 49 20 50 41 52 54 00 00 01 00 5c 00 00 00 +031ffe10 22 e2 97 b2 00 00 00 00 ff 8f 01 00 00 00 00 00 +031ffe20 01 00 00 00 00 00 00 00 00 08 00 00 00 00 00 00 +031ffe30 de 8f 01 00 00 00 00 00 99 c3 81 b1 11 47 52 4c +031ffe40 8b 65 9e 76 45 41 21 8d df 8f 01 00 00 00 00 00 +031ffe50 80 00 00 00 80 00 00 00 25 86 e1 c0 00 00 00 00 +031ffe60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* + +Expert command (m for help): diff --git a/tests/expected/sfdisk/gpt-attrs-space.err b/tests/expected/sfdisk/gpt-attrs-space.err new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/expected/sfdisk/gpt-attrs-space.err diff --git a/tests/expected/sfdisk/gpt-attrs-unsupported b/tests/expected/sfdisk/gpt-attrs-unsupported new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/expected/sfdisk/gpt-attrs-unsupported diff --git a/tests/expected/sfdisk/gpt-attrs-unsupported.err b/tests/expected/sfdisk/gpt-attrs-unsupported.err new file mode 100644 index 0000000..8577358 --- /dev/null +++ b/tests/expected/sfdisk/gpt-attrs-unsupported.err @@ -0,0 +1,2 @@ +unsupported GPT attribute bit 'FooBar 48 51' +sfdisk: <removed>: partition 2: failed to set partition attributes diff --git a/tests/expected/sfdisk/gpt-attrs-with-typo b/tests/expected/sfdisk/gpt-attrs-with-typo new file mode 100644 index 0000000..7cbfee4 --- /dev/null +++ b/tests/expected/sfdisk/gpt-attrs-with-typo @@ -0,0 +1,102 @@ + +The partition table has been altered. +Calling ioctl() to re-read partition table. +Syncing disks. +RequiredPartition NoBlockIOProtocol GUID:48,51 + +Welcome to fdisk <removed>. +Changes will remain in memory only, until you decide to write them. +Be careful before using the write command. + + +Command (m for help): +Expert command (m for help): +PMBR: offset = 0, size = 512 bytes. +00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* +000001c0 02 00 ee ff ff ff 01 00 00 00 ff 8f 01 00 00 00 +000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* +000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa + +GPT Header: offset = 512, size = 512 bytes. +00000200 45 46 49 20 50 41 52 54 00 00 01 00 5c 00 00 00 +00000210 9b 58 15 32 00 00 00 00 01 00 00 00 00 00 00 00 +00000220 ff 8f 01 00 00 00 00 00 00 08 00 00 00 00 00 00 +00000230 de 8f 01 00 00 00 00 00 99 c3 81 b1 11 47 52 4c +00000240 8b 65 9e 76 45 41 21 8d 02 00 00 00 00 00 00 00 +00000250 80 00 00 00 80 00 00 00 25 86 e1 c0 00 00 00 00 +00000260 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* + +GPT Entries: offset = 1024, size = 16384 bytes. +00000400 28 73 2a c1 1f f8 d2 11 ba 4b 00 a0 c9 3e c9 3b +00000410 7b 65 dc 91 b4 d7 53 46 a3 67 66 31 94 ff d4 32 +00000420 00 08 00 00 00 00 00 00 ff 2f 00 00 00 00 00 00 +00000430 00 00 00 00 00 00 00 00 45 00 46 00 49 00 20 00 +00000440 73 00 79 00 73 00 74 00 65 00 6d 00 00 00 00 00 +00000450 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* +00000480 af 3d c6 0f 83 84 72 47 8e 79 3d 69 d8 47 7d e4 +00000490 df 8a a0 ba 7e 32 77 41 89 53 98 da 1a 51 76 c4 +000004a0 00 30 00 00 00 00 00 00 ff 57 00 00 00 00 00 00 +000004b0 03 00 00 00 00 00 09 00 00 00 00 00 00 00 00 00 +000004c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* +00000500 6d fd 57 06 ab a4 c4 43 84 e5 09 33 c8 4b 4f 4f +00000510 87 8a ad ce 1a ff cb 45 83 e5 99 b0 8d 0e bc 87 +00000520 00 58 00 00 00 00 00 00 ff 7f 00 00 00 00 00 00 +00000530 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* +00000580 e3 bc 68 4f cd e8 b1 4d 96 e7 fb ca f9 84 b7 09 +00000590 60 dc fc d4 5d 76 c3 4b bd 84 0d 0b 98 42 c6 db +000005a0 00 80 00 00 00 00 00 00 ff a7 00 00 00 00 00 00 +000005b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* +00000600 af 3d c6 0f 83 84 72 47 8e 79 3d 69 d8 47 7d e4 +00000610 d7 5b 15 60 d8 bf 8c 4e b8 00 22 19 00 77 93 73 +00000620 00 a8 00 00 00 00 00 00 ff 87 01 00 00 00 00 00 +00000630 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* + +GPT Backup Entries: offset = 52411904, size = 16384 bytes. +031fbe00 28 73 2a c1 1f f8 d2 11 ba 4b 00 a0 c9 3e c9 3b +031fbe10 7b 65 dc 91 b4 d7 53 46 a3 67 66 31 94 ff d4 32 +031fbe20 00 08 00 00 00 00 00 00 ff 2f 00 00 00 00 00 00 +031fbe30 00 00 00 00 00 00 00 00 45 00 46 00 49 00 20 00 +031fbe40 73 00 79 00 73 00 74 00 65 00 6d 00 00 00 00 00 +031fbe50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* +031fbe80 af 3d c6 0f 83 84 72 47 8e 79 3d 69 d8 47 7d e4 +031fbe90 df 8a a0 ba 7e 32 77 41 89 53 98 da 1a 51 76 c4 +031fbea0 00 30 00 00 00 00 00 00 ff 57 00 00 00 00 00 00 +031fbeb0 03 00 00 00 00 00 09 00 00 00 00 00 00 00 00 00 +031fbec0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* +031fbf00 6d fd 57 06 ab a4 c4 43 84 e5 09 33 c8 4b 4f 4f +031fbf10 87 8a ad ce 1a ff cb 45 83 e5 99 b0 8d 0e bc 87 +031fbf20 00 58 00 00 00 00 00 00 ff 7f 00 00 00 00 00 00 +031fbf30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* +031fbf80 e3 bc 68 4f cd e8 b1 4d 96 e7 fb ca f9 84 b7 09 +031fbf90 60 dc fc d4 5d 76 c3 4b bd 84 0d 0b 98 42 c6 db +031fbfa0 00 80 00 00 00 00 00 00 ff a7 00 00 00 00 00 00 +031fbfb0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* +031fc000 af 3d c6 0f 83 84 72 47 8e 79 3d 69 d8 47 7d e4 +031fc010 d7 5b 15 60 d8 bf 8c 4e b8 00 22 19 00 77 93 73 +031fc020 00 a8 00 00 00 00 00 00 ff 87 01 00 00 00 00 00 +031fc030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* + +GPT Backup Header: offset = 52428288, size = 512 bytes. +031ffe00 45 46 49 20 50 41 52 54 00 00 01 00 5c 00 00 00 +031ffe10 22 e2 97 b2 00 00 00 00 ff 8f 01 00 00 00 00 00 +031ffe20 01 00 00 00 00 00 00 00 00 08 00 00 00 00 00 00 +031ffe30 de 8f 01 00 00 00 00 00 99 c3 81 b1 11 47 52 4c +031ffe40 8b 65 9e 76 45 41 21 8d df 8f 01 00 00 00 00 00 +031ffe50 80 00 00 00 80 00 00 00 25 86 e1 c0 00 00 00 00 +031ffe60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +* + +Expert command (m for help): diff --git a/tests/expected/sfdisk/gpt-attrs-with-typo.err b/tests/expected/sfdisk/gpt-attrs-with-typo.err new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/expected/sfdisk/gpt-attrs-with-typo.err diff --git a/tests/expected/sfdisk/gpt-attrs.err b/tests/expected/sfdisk/gpt-attrs.err new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/expected/sfdisk/gpt-attrs.err |