[parted-devel] [PATCH] tests: t3310-flags.sh skip pc98 when sector size != 512

Brian C. Lane bcl at redhat.com
Tue Oct 4 23:52:54 UTC 2016


---
 tests/t3310-flags.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/t3310-flags.sh b/tests/t3310-flags.sh
index e97c3b9..10ac50d 100644
--- a/tests/t3310-flags.sh
+++ b/tests/t3310-flags.sh
@@ -49,6 +49,8 @@ for table_type in aix amiga bsd dvh gpt mac msdos pc98 sun loop; do
     msdos) primary_or_name='primary'
            ;;
     pc98)  primary_or_name='PTNNAME'
+           # pc98 only supports 512b sectors
+           [ $ss -ne 512 ] && continue
            ;;
     sun)   primary_or_name=''
            ;;
-- 
2.7.4




More information about the parted-devel mailing list