Files
linux-kernel-module-cheat/rootfs_overlay/test_all.sh
2018-07-01 20:38:16 +01:00

21 lines
338 B
Bash
Executable File

#!/bin/sh
for test in \
/anonymous_inode.sh \
/character_device.sh \
/character_device_create.sh \
/debugfs.sh \
/fops.sh \
/ioctl.sh \
/mmap.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