[parted-devel] [PATCH 3/7] tests/t1102: Change dev_size_mb to 10
Brian C. Lane
bcl at redhat.com
Tue Jul 13 00:55:09 BST 2021
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 <<EOF > 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
More information about the parted-devel
mailing list