OSDN Git Service

tests: t3310-flags: check all gpt boolean flags, too
authorJim Meyering <meyering@redhat.com>
Sat, 26 Feb 2011 06:55:10 +0000 (07:55 +0100)
committerJim Meyering <meyering@redhat.com>
Sat, 26 Feb 2011 07:29:09 +0000 (08:29 +0100)
commite7e85f647a99a82b325a26f6590e3c7720a40107
tree271ddcc09449f59ed0402c4183085ec49afdc504
parente9e3ad6328c58512d6a3ede592327e89f6146b82
tests: t3310-flags: check all gpt boolean flags, too

* tests/t3310-flags.sh: Check gpt as well as msdos flags.
Parametrize mkpart usage.
Accommodate gpt-induced difference in parted's print output
GPT partitions have a name, while msdos ones do not.
This also fixes the "on_and_off" perl flag extraction regexp,
which before was using $1 with no corresponding () group.
tests/t3310-flags.sh