selftests/zram: must be run as root
authorNaresh Kamboju <naresh.kamboju@linaro.org>
Mon, 31 Aug 2015 11:41:55 +0000 (17:11 +0530)
committerShuah Khan <shuahkh@osg.samsung.com>
Tue, 1 Sep 2015 16:51:32 +0000 (10:51 -0600)
commit2dfb28e3410d775a687d429f5cadf88e795e7eb6
treebc3fa5bf6233989225c2e332bafeb10a89694439
parent9fae100cbd1049057bbc3e3180a6de339b9b73a9
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>
tools/testing/selftests/zram/zram.sh
tools/testing/selftests/zram/zram01.sh
tools/testing/selftests/zram/zram02.sh
tools/testing/selftests/zram/zram_lib.sh