]>
git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - tools/testing/selftests/zram/zram.sh
7 echo "--------------------"
8 echo "running zram tests"
9 echo "--------------------"
17 # check zram module exists
18 MODULE_PATH
=/lib
/modules
/`uname -r`/kernel
/drivers
/block
/zram
/zram.ko
19 if [ -f $MODULE_PATH ]; then
21 elif [ -b /dev
/zram0
]; then
24 echo "$TCID : No zram.ko module or /dev/zram0 device file not found"
25 echo "$TCID : CONFIG_ZRAM is not set"