> + 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