Skip the "migrate" test on architectures not natively using MBR, it
can not work there.
This commit is contained in:
parent
de1e0dfd01
commit
defea524bf
@ -1,4 +1,4 @@
|
||||
# $NetBSD: t_gpt.sh,v 1.15 2016/03/08 08:04:48 joerg Exp $
|
||||
# $NetBSD: t_gpt.sh,v 1.16 2017/03/22 19:13:40 martin Exp $
|
||||
#
|
||||
# Copyright (c) 2015 The NetBSD Foundation, Inc.
|
||||
# All rights reserved.
|
||||
@ -293,6 +293,10 @@ migrate_disklabel_head() {
|
||||
}
|
||||
|
||||
migrate_disklabel_body() {
|
||||
if [ $( sysctl -n kern.rawpartition ) -ne 3 ]; then
|
||||
atf_skip "This test is specific to architectures using MBR"
|
||||
fi
|
||||
|
||||
prepare
|
||||
silence fdisk -fi "$disk"
|
||||
silence fdisk -fu0s "169/63/$((size / 10))" "$disk"
|
||||
|
Loading…
Reference in New Issue
Block a user