summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBrian C. Lane <bcl@redhat.com>2021-07-12 15:27:30 -0700
committerBrian C. Lane <bcl@redhat.com>2021-07-12 15:27:30 -0700
commitf1c0f474670612b79a30d70863b4351c5883b5f6 (patch)
tree2f81a1d1f320d17cda4df851cbbeb1284e6a8695 /tests
parent4a053e111beacbeabeddc20c71d0215aedf219fb (diff)
downloadparted-f1c0f474670612b79a30d70863b4351c5883b5f6.tar.gz
tests/t1101: 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/t1101-busy-partition.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/t1101-busy-partition.sh b/tests/t1101-busy-partition.sh
index e35e6f0..5e37814 100755
--- a/tests/t1101-busy-partition.sh
+++ b/tests/t1101-busy-partition.sh
@@ -24,7 +24,7 @@ require_root_
require_scsi_debug_module_
# create memory-backed device
-scsi_debug_setup_ dev_size_mb=80 > dev-name ||
+scsi_debug_setup_ dev_size_mb=10 > dev-name ||
skip_ 'failed to create scsi_debug device'
dev=$(cat dev-name)
@@ -37,10 +37,10 @@ parted -s "$dev" mklabel msdos > out 2>&1 || fail=1
# expect no output
compare /dev/null out || fail=1
-parted -s "$dev" mkpart primary fat32 1 40 > out 2>&1 || fail=1
+parted -s "$dev" mkpart primary fat32 1 4 > out 2>&1 || fail=1
compare /dev/null out || fail=1
-parted -s "$dev" mkpart primary fat32 40 80 > out 2>&1 || fail=1
+parted -s "$dev" mkpart primary fat32 4 10 > out 2>&1 || fail=1
compare /dev/null out || fail=1
# wait for new partition device to appear