From 29cf5841f7c046e149e3554a0f92a96169681bec Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Mon, 12 Jul 2021 15:28:33 -0700 Subject: [PATCH 18/24] tests/t1102: 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. --- tests/t1102-loop-label.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/t1102-loop-label.sh b/tests/t1102-loop-label.sh index 091227b..0a120b9 100644 --- a/tests/t1102-loop-label.sh +++ b/tests/t1102-loop-label.sh @@ -23,7 +23,7 @@ require_root_ require_scsi_debug_module_ ss=$sector_size_ -scsi_debug_setup_ sector_size=$ss dev_size_mb=90 > dev-name || +scsi_debug_setup_ sector_size=$ss dev_size_mb=10 > dev-name || skip_ 'failed to create scsi_debug device' dev=$(cat dev-name) @@ -31,13 +31,13 @@ mke2fs -F $dev parted -s "$dev" print > out 2>&1 || fail=1 cat < exp Model: Linux scsi_debug (scsi) -Disk DEVICE: 94.4MB +Disk DEVICE: 10.5MB Sector size (logical/physical): ${ss}B/${ss}B Partition Table: loop Disk Flags: Number Start End Size File system Flags - 1 0.00B 94.4MB 94.4MB ext2 + 1 0.00B 10.5MB 10.5MB ext2 EOF mv out o2 && sed -e "s,$dev,DEVICE,;s/ *$//" o2 > out -- 2.31.1