[parted-devel] [PATCH v2 3/8] tests: t3310-flags.sh: Add test for bsd table flags

Mike Fleetwood mike.fleetwood at googlemail.com
Sat Oct 1 15:40:18 UTC 2016


---
 tests/t3310-flags.sh |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/tests/t3310-flags.sh b/tests/t3310-flags.sh
index 5cbf2da..3f80213 100644
--- a/tests/t3310-flags.sh
+++ b/tests/t3310-flags.sh
@@ -25,9 +25,11 @@ 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
 
   case $table_type in
+    bsd)   primary_or_name=''
+           ;;
     gpt)   primary_or_name='PTNNAME'
            ;;
     msdos) primary_or_name='primary'
-- 
1.7.1




More information about the parted-devel mailing list