]>
git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blob - tools/testing/selftests/zram/zram.sh
2 # SPDX-License-Identifier: GPL-2.0
8 echo "--------------------"
9 echo "running zram tests"
10 echo "--------------------"
18 # check zram module exists
19 MODULE_PATH
=/lib
/modules
/`uname -r`/kernel
/drivers
/block
/zram
/zram.ko
20 if [ -f $MODULE_PATH ]; then
22 elif [ -b /dev
/zram0
]; then
25 echo "$TCID : No zram.ko module or /dev/zram0 device file not found"
26 echo "$TCID : CONFIG_ZRAM is not set"