Blame SOURCES/0047-tests-t3310-flags.sh-Add-test-for-bsd-table-flags.patch

0cb0b9
From d7bcb49f1313da7deae0ca41ab402980fb3094a4 Mon Sep 17 00:00:00 2001
0cb0b9
From: Mike Fleetwood <mike.fleetwood@googlemail.com>
0cb0b9
Date: Sat, 1 Oct 2016 16:40:18 +0100
0cb0b9
Subject: [PATCH 47/53] tests: t3310-flags.sh: Add test for bsd table flags
0cb0b9
0cb0b9
Signed-off-by: Brian C. Lane <bcl@redhat.com>
0cb0b9
---
0cb0b9
 tests/t3310-flags.sh | 4 +++-
0cb0b9
 1 file changed, 3 insertions(+), 1 deletion(-)
0cb0b9
0cb0b9
diff --git a/tests/t3310-flags.sh b/tests/t3310-flags.sh
0cb0b9
index 5cbf2da..3f80213 100644
0cb0b9
--- a/tests/t3310-flags.sh
0cb0b9
+++ b/tests/t3310-flags.sh
0cb0b9
@@ -25,9 +25,11 @@ extract_flags()
0cb0b9
   perl -nle '/^1:2048s:4095s:2048s::(?:PTNNAME)?:(.+);$/ and print $1' "$@"
0cb0b9
 }
0cb0b9
 
0cb0b9
-for table_type in msdos gpt; do
0cb0b9
+for table_type in bsd gpt msdos; do
0cb0b9
 
0cb0b9
   case $table_type in
0cb0b9
+    bsd)   primary_or_name=''
0cb0b9
+           ;;
0cb0b9
     gpt)   primary_or_name='PTNNAME'
0cb0b9
            ;;
0cb0b9
     msdos) primary_or_name='primary'
0cb0b9
-- 
0cb0b9
2.7.4
0cb0b9