selftests/zram: must be run as root
Adding new functionality check_prereqs() to check test must be run as root Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
This commit is contained in:

committed by
Shuah Khan

parent
9fae100cbd
commit
2dfb28e341
@@ -79,6 +79,7 @@ zram_fill_fs()
|
||||
echo "zram compression ratio: $(echo "scale=2; $v / 100 " | bc):1: OK"
|
||||
}
|
||||
|
||||
check_prereqs
|
||||
zram_load
|
||||
zram_max_streams
|
||||
zram_compress_alg
|
||||
|
Reference in New Issue
Block a user