<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Petr,</div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Petr Vorel <<a href="mailto:pvorel@suse.cz">pvorel@suse.cz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail_default" style="font-size:small">...</span><br>
<br>
diff --git a/testcases/kernel/device-drivers/zram/zram01.sh b/testcases/kernel/device-drivers/zram/zram01.sh<br>
index a795ff89f..c5d4a3e51 100755<br>
--- a/testcases/kernel/device-drivers/zram/zram01.sh<br>
+++ b/testcases/kernel/device-drivers/zram/zram01.sh<br>
@@ -8,23 +8,25 @@<br>
<br>
TST_CNT=7<br>
TST_TESTFUNC="do_test"<br>
-TST_NEEDS_CMDS="awk bc dd"<br>
+TST_NEEDS_CMDS="awk bc dd grep"<br>
. zram_lib.sh<br>
+TST_SETUP="setup"<br>
<br>
-# List of parameters for zram devices.<br>
-# For each number the test creates own zram device.<br>
-zram_max_streams="2 3 5 8"<br>
-<br>
-FS_SIZE="402653184"<br>
-FS_TYPE="btrfs"<br>
+get_btrfs_size()<br></blockquote><div><br></div><div><div class="gmail_default" style="font-size:small">What about renaming at_least_1G_mem() or check_space_for_btrfs()?</div></div></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Regards,<br></div><div>Li Wang<br></div></div></div></div>