diff --git a/scripts/zconfig.sh b/scripts/zconfig.sh index 75e37d0de275..d1e796f17366 100755 --- a/scripts/zconfig.sh +++ b/scripts/zconfig.sh @@ -194,7 +194,7 @@ test_3() { ${ZFS} create -V 100M ${FULL_ZVOL_NAME} || fail 3 label /dev/zvol/${FULL_ZVOL_NAME} msdos || fail 4 partition /dev/zvol/${FULL_ZVOL_NAME} primary 1% 50% || fail 4 - partition /dev/zvol/${FULL_ZVOL_NAME} primary 50% 100% || fail 4 + partition /dev/zvol/${FULL_ZVOL_NAME} primary 51% -1 || fail 4 ${ZFS} snapshot ${FULL_SNAP_NAME} || fail 5 ${ZFS} clone ${FULL_SNAP_NAME} ${FULL_CLONE_NAME} || fail 6 @@ -247,7 +247,7 @@ test_4() { ${ZFS} create -V 100M ${FULL_ZVOL_NAME} || fail 3 label /dev/zvol/${FULL_ZVOL_NAME} msdos || fail 4 partition /dev/zvol/${FULL_ZVOL_NAME} primary 1% 50% || fail 4 - partition /dev/zvol/${FULL_ZVOL_NAME} primary 50% 100% || fail 4 + partition /dev/zvol/${FULL_ZVOL_NAME} primary 51% -1 || fail 4 ${ZFS} snapshot ${FULL_SNAP_NAME} || fail 5 ${ZFS} clone ${FULL_SNAP_NAME} ${FULL_CLONE_NAME} || fail 6