From 843a800098705c71698dabb3c2e549912b17606a Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Mon, 12 Jul 2021 15:29:03 -0700 Subject: [PATCH 19/24] tests/t1701: 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/t1701-rescue-fs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/t1701-rescue-fs.sh b/tests/t1701-rescue-fs.sh index 050c064..71d545d 100644 --- a/tests/t1701-rescue-fs.sh +++ b/tests/t1701-rescue-fs.sh @@ -22,7 +22,7 @@ require_root_ require_scsi_debug_module_ # create memory-backed device -scsi_debug_setup_ sector_size=$sector_size_ dev_size_mb=32 > dev-name || +scsi_debug_setup_ sector_size=$sector_size_ dev_size_mb=10 > dev-name || skip_ 'failed to create scsi_debug device' scsi_dev=$(cat dev-name) @@ -39,7 +39,7 @@ parted -s $scsi_dev rm 1 || fail=1 # rescue the partition echo yes | parted ---pretend-input-tty $scsi_dev rescue 1m 100% > out 2>&1 cat > exp < 33.6MB. Do you want to add it to the partition table? +Information: A ext4 primary partition was found at 1049kB -> 10.5MB. Do you want to add it to the partition table? Yes/No/Cancel? yes Information: You may need to update /etc/fstab. EOF -- 2.31.1