summaryrefslogtreecommitdiff
path: root/tests/t0220-gpt-msftres.sh
Commit message (Collapse)AuthorAgeFilesLines
* maint: Update copyright statements to 2022Brian C. Lane2022-03-231-1/+1
| | | | By running make update-copyright
* maint: Update copyright statements to 2021Brian C. Lane2021-01-181-1/+1
| | | | By running make update-copyright
* maint: Update copyright statements to 2020Brian C. Lane2020-12-111-1/+1
| | | | By running make update-copyright
* maint: Update copyright statements to 2019Brian C. Lane2019-08-121-1/+1
| | | | By running make update-copyright
* tests: Update t0220 and t0280 for the swap flag.Brian C. Lane2016-12-221-1/+5
|
* maint: run "make update-copyright"Jim Meyering2014-05-251-1/+1
|
* maint: update all copyright year number rangesJim Meyering2013-01-061-1/+1
| | | | Run "make update-copyright".
* add support for a new Linux-specific GPT partition type codeRoderick W. Smith2012-09-291-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * NEWS: Describe the new Linux-specific partition type code and the new msftres flag that can be used to override this type code, should it be necessary. * doc/parted.texi: Describe of the new msftres flag. * include/parted/disk.in.h [_PedPartitionFlag]: Add PED_PARTITION_MSFT_DATA. * libparted/disk.c: Add check for PED_PARTITION_MSFT_DATA, with return of "msftdata", to ped_partition_flag_get_name() * libparted/labels/gpt.c (PARTITION_LINUX_DATA_GUID): Define. [_GPTPartitionData]: New member, "int msftdata". (_parse_part_entry): Set the msftdata flag if and only if the PARTITION_BASIC_DATA_GUID type code is in use; (gpt_partition_new): Use the PARTITION_LINUX_DATA_GUID type as the default type code (gpt_partition_set_system): Set the PARTITION_BASIC_DATA_GUID type code on partitions on which the msftdata flag is set and set PARTITION_LINUX_DATA_GUID as the type by default. Clear the msftdata flag in most tests in gpt_partition_set_flag() (gpt_partition_set_flag): Add test for PED_PARTITION_MSFT_DATA, which sets msftdata and other flags appropriately (gpt_partition_get_flag): Add test for the PED_PARTITION_MSFT_DATA item that returns the status of the msftdata flag (gpt_partition_is_flag_available): Add test for PED_PARTITION_MSFT_DATA item to * tests/t0220-gpt-msftres.sh: Accommodate the fact that now, partition table listings include "msftdata" for file systems of type NTFS and FAT*. For more discussion and justification, see http://thread.gmane.org/gmane.comp.gnu.parted.bugs/10456
* tests: update tests for new disk flags outputBrian C. Lane2012-02-021-1/+1
| | | | | | | | | | | | | | | | | | | * tests/t0010-script-no-ctrl-chars.sh: Updated * tests/t0100-print.sh: Updated * tests/t0101-print-empty.sh: Updated * tests/t0220-gpt-msftres.sh: Updated * tests/t0250-gpt.sh: Updated * tests/t0280-gpt-corrupt.sh: Updated * tests/t2310-dos-extended-2-sector-min-offset.sh: Updated * tests/t4000-sun-raid-type.sh: Updated * tests/t4100-dvh-partition-limits.sh: Updated * tests/t4100-msdos-partition-limits.sh: Updated * tests/t4100-msdos-starting-sector.sh: Updated * tests/t4200-partprobe.sh: Updated * tests/t5000-tags.sh: Updated * tests/t6000-dm.sh: Updated * tests/t9040-many-partitions.sh: Updated * tests/t9041-undetected-in-use-16th-partition.sh: Updated
* tests: fix misleading mkpart usageJim Meyering2012-01-081-1/+1
| | | | | | | | | Using "primary" is fine (and common) as a partition *type* for dos partition tables, but with a partition table of type GPT, it is downright misleading to specify the partition *name* as "primary". * tests/t0220-gpt-msftres.sh: Use "p-name" as partition name, rather than misleading "primary". * tests/t7000-scripting.sh: Likewise.
* maint: update all copyright year number rangesJim Meyering2012-01-011-1/+1
| | | | Run "make update-copyright".
* tests: use "compare exp out", not "compare out exp"Jim Meyering2011-11-291-4/+4
| | | | | | | | | | | | | | Likewise, when an empty file is expected, use "compare /dev/null out", not "compare out /dev/null". I.e., specify the expected/desired contents via the first file name. Prompted by a suggestion from Bruno Haible in http://thread.gmane.org/gmane.comp.gnu.grep.bugs/4020/focus=29154 Run these commands: git grep -l -E 'compare [^ ]+ exp' \ |xargs perl -pi -e 's/\b(compare) (\S+) (exp\S*)/$1 $3 $2/' git grep -l -E 'compare [^ ]+ /dev/null' \ |xargs perl -pi -e 's,\b(compare) (\S+) (/dev/null),$1 $3 $2,'
* tests: make t0220 more useful when it failsJim Meyering2011-05-271-7/+4
|
* tests: move test_description= variable to a commentJim Meyering2011-02-261-2/+2
| | | | | | | | | | test-lib.sh-based tests required a test_description= definition. When testing switched to init.sh, which by convention uses a brief comment on line 2 instead, some instances were not converted. * libparted/tests/t1000-label.sh: Put test description on line 2. Remove now-unused test_description= definition. * libparted/tests/t2000-disk.sh: Likewise. * tests/t0220-gpt-msftres.sh: Likewise.
* maint: update copyright year ranges to include 2011Jim Meyering2011-02-221-1/+1
| | | | Run "make update-copyright".
* tests: convert t0220 to use init.shJim Meyering2010-11-201-21/+14
| | | | * tests/t0220-gpt-msftres.sh: Convert to use init.sh.
* parted: change default alignment to "optimal"Hans de Goede2010-02-101-2/+2
| | | | | | | | | | | | | | | | * NEWS (Changes in behavior): Mention it. * parted/parted.c: Change --align default value to optimal. * tests/t2100-mkswap.sh: Adjust for alignment changes where necessary. * tests/t0220-gpt-msftres.sh: Likewise. * tests/t0280-gpt-corrupt.sh: Likewise. * tests/t2200-dos-label-recog.sh: Likewise. * tests/t2300-dos-label-extended-bootcode.sh: Likewise. * tests/t3000-resize-fs.sh: Likewise. * tests/t4100-msdos-partition-limits.sh: Likewise. * tests/t4100-msdos-starting-sector.sh: Likewise. * tests/t5000-tags.sh: Likewise. * tests/t8000-loop.sh: Likewise. * tests/t9021-maxima.sh: Likewise.
* maint: update all FSF copyright year lists to include 2010Jim Meyering2010-01-081-1/+1
| | | | Run this command: make update-copyright
* tests: gpt: exercise creating all partition types; check for msftres bugJim Meyering2009-09-241-0/+85
Ensure that a newly-created partition in a GPT partition table has no 'flag' set, by default. This test also exercises setting the "name" on a partition and creates one partition of each supported type. * tests/t0220-gpt-msftres.sh: New file. * tests/Makefile.am (TESTS): Add that new file.