OSDN Git Service

tests: create 128 partitions also in the scsi-backed test
authorJim Meyering <meyering@redhat.com>
Mon, 23 Jan 2012 20:32:00 +0000 (21:32 +0100)
committerJim Meyering <meyering@redhat.com>
Mon, 23 Jan 2012 20:32:00 +0000 (21:32 +0100)
commitcd280c622f5f5f8708ace2f04118d80d9a2c6a8f
tree16a4780e16edaf4700ba2927caf56cfa2f0a9418
parentfd9fe8fa65019e62c80f87b68aa1dda46b63ecf8
tests: create 128 partitions also in the scsi-backed test

* tests/t9040-many-partitions.sh: Tighten up: use less memory:
1 sector per partition rather than 256.
Exec parted just once, not once per partition.
With that, we can increase the number of partitions to create
from 60 (which used to take 2.5 minutes on an F12-era kernel)
to the standard-GPT-header-imposed maximum of 128.
Suggested by Phillip Susi.
tests/t9040-many-partitions.sh