mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-13 20:12:26 +00:00
26 lines
416 B
Bash
Executable File
26 lines
416 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 \
|
|
/netlink.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
|