diff options
author | Sebastian Rasmussen | 2016-05-29 22:11:52 +0200 |
---|---|---|
committer | Sebastian Rasmussen | 2016-05-31 23:51:07 +0200 |
commit | d1b7bfe5068d4aa3ee37d3755f0020aaa839b087 (patch) | |
tree | 466410a65e8cd000364530b5f6c26582dc9ed5ff /tests/ts/libfdisk | |
parent | misc: Fix various typos (diff) | |
download | kernel-qcow2-util-linux-d1b7bfe5068d4aa3ee37d3755f0020aaa839b087.tar.gz kernel-qcow2-util-linux-d1b7bfe5068d4aa3ee37d3755f0020aaa839b087.tar.xz kernel-qcow2-util-linux-d1b7bfe5068d4aa3ee37d3755f0020aaa839b087.zip |
fdisk: Fix typo RequiredPartiton -> RequiredPartition
This typo fix is backwards compatible in that fdisk will accept both
the GPT attribute RequiredPartition and RequiredPartiton with the typo.
Update documentation and tests to all use the new attribute name.
Signed-off-by: Sebastian Rasmussen <sebras@gmail.com>
Diffstat (limited to 'tests/ts/libfdisk')
-rwxr-xr-x | tests/ts/libfdisk/gpt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/ts/libfdisk/gpt b/tests/ts/libfdisk/gpt index 2de6b1a57..d6684c255 100755 --- a/tests/ts/libfdisk/gpt +++ b/tests/ts/libfdisk/gpt @@ -31,6 +31,19 @@ $TS_CMD_SFDISK --unit S ${TEST_IMAGE_NAME} >> $TS_OUTPUT 2>&1 <<EOF label: gpt label-id: b181c399-4711-4c52-8b65-9e764541218d +size=5M, attrs="RequiredPartition,48" +attrs="52,53,62" +EOF +ts_fdisk_clean ${TEST_IMAGE_NAME} +ts_finalize_subtest + +TEST_IMAGE_NAME=$(ts_image_init 10) + +ts_init_subtest "all-defaults-with-typo" +$TS_CMD_SFDISK --unit S ${TEST_IMAGE_NAME} >> $TS_OUTPUT 2>&1 <<EOF +label: gpt +label-id: b181c399-4711-4c52-8b65-9e764541218d + size=5M, attrs="RequiredPartiton,48" attrs="52,53,62" EOF |