summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian C. Lane <bcl@redhat.com>2021-07-12 15:29:03 -0700
committerBrian C. Lane <bcl@redhat.com>2021-07-12 16:36:48 -0700
commit843a800098705c71698dabb3c2e549912b17606a (patch)
tree50942bbd91cfcf80a68b1b26d409286be43851c4
parent29cf5841f7c046e149e3554a0f92a96169681bec (diff)
downloadparted-843a800098705c71698dabb3c2e549912b17606a.tar.gz
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.
-rw-r--r--tests/t1701-rescue-fs.sh4
1 files 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 <<EOF
-Information: A ext4 primary partition was found at 1049kB -> 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