Files
linux-kernel-module-cheat/rootfs_overlay/test_all.sh
2018-07-05 02:42:28 +01:00

25 lines
400 B
Bash
Executable File

#!/bin/sh
for test in \
/anonymous_inode.sh \
/character_device.sh \
/character_device_create.sh \
/debugfs.sh \
/dep.sh \
/fops.sh \
/init_module.sh \
/ioctl.sh \
/kstrto.sh \
/mmap.sh \
/params.sh \
/procfs.sh \
/seq_file.sh \
/seq_file_single_open.sh \
/sysfs.sh \
; do
if ! "$test"; then
echo "lkmc_test_fail: ${test}"
exit 1
fi
done
echo lkmc_test_pass