Message ID | 20220827002815.19116-7-pvorel@suse.cz (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Track minimal size per filesystem | expand |
Hi!
Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
diff --git a/testcases/lib/tst_test.sh b/testcases/lib/tst_test.sh index 7aea9ee5f..1eb0ce91c 100644 --- a/testcases/lib/tst_test.sh +++ b/testcases/lib/tst_test.sh @@ -694,7 +694,7 @@ tst_run() TST_MNTPOINT="${TST_MNTPOINT:-$PWD/mntpoint}" if [ "$TST_NEEDS_DEVICE" = 1 ]; then - TST_DEVICE=$(tst_device acquire) + TST_DEVICE=$(tst_device -f $TST_FS_TYPE acquire) if [ ! -b "$TST_DEVICE" -o $? -ne 0 ]; then unset TST_DEVICE
This allow to get smaller minimal required size. Signed-off-by: Petr Vorel <pvorel@suse.cz> --- testcases/lib/tst_test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)