]> git.pld-linux.org Git - packages/parted.git/blob - 0047-tests-t3310-flags.sh-Add-test-for-bsd-table-flags.patch
- rel 4; tons of patches from FC
[packages/parted.git] / 0047-tests-t3310-flags.sh-Add-test-for-bsd-table-flags.patch
1 From d7bcb49f1313da7deae0ca41ab402980fb3094a4 Mon Sep 17 00:00:00 2001
2 From: Mike Fleetwood <mike.fleetwood@googlemail.com>
3 Date: Sat, 1 Oct 2016 16:40:18 +0100
4 Subject: [PATCH 47/53] tests: t3310-flags.sh: Add test for bsd table flags
5
6 Signed-off-by: Brian C. Lane <bcl@redhat.com>
7 ---
8  tests/t3310-flags.sh | 4 +++-
9  1 file changed, 3 insertions(+), 1 deletion(-)
10
11 diff --git a/tests/t3310-flags.sh b/tests/t3310-flags.sh
12 index 5cbf2da..3f80213 100644
13 --- a/tests/t3310-flags.sh
14 +++ b/tests/t3310-flags.sh
15 @@ -25,9 +25,11 @@ extract_flags()
16    perl -nle '/^1:2048s:4095s:2048s::(?:PTNNAME)?:(.+);$/ and print $1' "$@"
17  }
18  
19 -for table_type in msdos gpt; do
20 +for table_type in bsd gpt msdos; do
21  
22    case $table_type in
23 +    bsd)   primary_or_name=''
24 +           ;;
25      gpt)   primary_or_name='PTNNAME'
26             ;;
27      msdos) primary_or_name='primary'
28 -- 
29 2.7.4
30
This page took 0.101084 seconds and 3 git commands to generate.