Blame SOURCES/0054-tests-t3310-flags.sh-skip-pc98-when-sector-size-512.patch

0cb0b9
From a6ba22e539ae5836326703cf4e6d549f6628b861 Mon Sep 17 00:00:00 2001
0cb0b9
From: "Brian C. Lane" <bcl@redhat.com>
0cb0b9
Date: Tue, 4 Oct 2016 16:11:25 -0700
0cb0b9
Subject: [PATCH] tests: t3310-flags.sh skip pc98 when sector size != 512
0cb0b9
0cb0b9
---
0cb0b9
 tests/t3310-flags.sh | 2 ++
0cb0b9
 1 file changed, 2 insertions(+)
0cb0b9
0cb0b9
diff --git a/tests/t3310-flags.sh b/tests/t3310-flags.sh
0cb0b9
index e97c3b9..10ac50d 100644
0cb0b9
--- a/tests/t3310-flags.sh
0cb0b9
+++ b/tests/t3310-flags.sh
0cb0b9
@@ -49,6 +49,8 @@ for table_type in aix amiga bsd dvh gpt mac msdos pc98 sun loop; do
0cb0b9
     msdos) primary_or_name='primary'
0cb0b9
            ;;
0cb0b9
     pc98)  primary_or_name='PTNNAME'
0cb0b9
+           # pc98 only supports 512b sectors
0cb0b9
+           [ $ss -ne 512 ] && continue
0cb0b9
            ;;
0cb0b9
     sun)   primary_or_name=''
0cb0b9
            ;;
0cb0b9
-- 
0cb0b9
2.7.4
0cb0b9