[LTP] [PATCH] zram01: Fix division by 0

Li Wang liwang@redhat.com
Wed Jul 31 09:16:18 CEST 2019


> +       if [ $used_mem -eq 0 ]; then
> +               tst_resm TBROK "no memory used by zram"
> +               return
> +       fi

Why not use tst_brkm directly? Otherwise looks good to me.

-- 
Regards,
Li Wang


More information about the ltp mailing list