summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBrian C. Lane <bcl@redhat.com>2021-07-12 15:29:59 -0700
committerBrian C. Lane <bcl@redhat.com>2021-07-14 16:29:58 -0700
commit18556277b93ebb7dd88da5d4928189386c0eb132 (patch)
tree7ff0d35dedef67261deba1a63f319def667f7155 /tests
parente72dc01c85fb6baa8e065660bda6ec92e21bee49 (diff)
downloadparted-18556277b93ebb7dd88da5d4928189386c0eb132.tar.gz
tests/t3200: Change dev_size_mb to 10
This is backed by memory, so using more than is needed limits the size of the system it can run on.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/t3200-type-change.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/t3200-type-change.sh b/tests/t3200-type-change.sh
index 39904e0..3ad8604 100755
--- a/tests/t3200-type-change.sh
+++ b/tests/t3200-type-change.sh
@@ -25,7 +25,7 @@ grep '^#define USE_BLKID 1' "$CONFIG_HEADER" > /dev/null ||
skip_ 'this system lacks a new-enough libblkid'
# create memory-backed device
-scsi_debug_setup_ dev_size_mb=550 > dev-name ||
+scsi_debug_setup_ dev_size_mb=10 > dev-name ||
skip_ 'failed to create scsi_debug device'
scsi_dev=$(cat dev-name)
@@ -34,7 +34,7 @@ scsi_dev=$(cat dev-name)
# partition and ensure that parted doesn't "helpfully" change the partition
# type to match the newly-detected FS type.
-parted -s $scsi_dev mklabel msdos mkpart primary fat32 64s 80000s || fail=1
+parted -s $scsi_dev mklabel msdos mkpart primary fat32 1MiB 100% || fail=1
parted -s $scsi_dev u s p