[parted-devel] [PATCH 2/2] tests: t2420: New test confirming updating msdos doesn't add boot code

Brian C. Lane bcl at redhat.com
Fri Oct 24 23:31:04 BST 2025


On Fri, Oct 24, 2025 at 02:03:03PM +0100, Mike Fleetwood wrote:

Small tweak to this, the test run with multiple sector sizes so using
sector counts in mkpart can fail because 10M isn't large enough. Just
use M instead.

> +parted --script $dev mkpart primary ext2 2048s 4095s || fail=1

parted --script $dev mkpart primary ext2 1M 5M || fail=1

> +parted --script $dev mkpart primary ext2 4096s 6143s || fail=1

parted --script $dev mkpart primary ext2 5M 10M || fail=1

(I've changed this locally, no need to resubmit).

Brian

-- 
Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart




More information about the parted-devel mailing list