[parted-devel] [PATCH 3/8] tests: t3310-flags.sh: Add test for bsd table flags
Mike Fleetwood
mike.fleetwood at googlemail.com
Tue Aug 16 19:42:37 UTC 2016
---
tests/t3310-flags.sh | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/tests/t3310-flags.sh b/tests/t3310-flags.sh
index ba73147..d20d6d4 100644
--- a/tests/t3310-flags.sh
+++ b/tests/t3310-flags.sh
@@ -25,11 +25,14 @@ extract_flags()
perl -nle '/^1:2048s:4095s:2048s::(?:PTNNAME)?:(.+);$/ and print $1' "$@"
}
-for table_type in msdos gpt; do
+for table_type in bsd gpt msdos; do
# Get the full list of flags to be tested from each table types'
# libparted/labels/*.c *_partition_is_flag_available() function.
case $table_type in
+ bsd) primary_or_name=''
+ flags='boot raid lvm'
+ ;;
gpt) primary_or_name='PTNNAME'
flags='raid lvm boot bios_grub hp-service msftres msftdata diag atvrecv hidden legacy_boot prep irst esp'
;;
--
1.7.1
More information about the parted-devel
mailing list