runltp: extend the default loop device size to 150MB
PATCH v2 1/2 runltp: extend the default loop device size to 150MB
Increase TST_DEVICE size to make btrfs-progs happy.
Signed-off-by Li Wang <[email protected]>
--- runltp | 2 +- testcases/lib/test.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
runltp +1 -1
@@ -978,7 +978,7 @@ main() create_block() { #create a block device - dd if=/dev/zero of=${TMP}/test.img bs=1kB count=102400 >/dev/null 2>&1 + dd if=/dev/zero of=${TMP}/test.img bs=1kB count=153600 >/dev/null 2>&1 if [ $? -ne 0 ]; then echo "Failed to create loopback device image, please check disk space and re-run" return 1
testcases/lib/test.sh +1 -1
@@ -274,7 +274,7 @@ tst_acquire_device() return fi - ROD_SILENT dd if=/dev/zero of=test_dev.img bs=1024 count=102400 + ROD_SILENT dd if=/dev/zero of=test_dev.img bs=1024 count=153600 TST_DEVICE=$(losetup -f) if [ $? -ne 0 ]; then
Signature · 1 line
1.8.3.1
PATCH v2 1/2 runltp: extend the default loop device size to 150MB
Hi!
Quoted 1 line
Increase
TST_DEVICEsize to make btrfs-progs happy.
I've increased it in the C library in lib/tst_device.c as well and pushed, thanks.
Signature · 2 lines
Cyril Hrubis [email protected]