mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-26 19:51:35 +01:00
kernel module: fix fops... and move its documentation into README
Sometimes I wonder if anyone has ever run this tutorial, otherwise how can such basic bugs persist for so long? test_all.sh: crete
This commit is contained in:
14
rootfs_overlay/test_all.sh
Executable file
14
rootfs_overlay/test_all.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
(
|
||||
set -ex
|
||||
/character_device.sh
|
||||
/character_device_create.sh
|
||||
/fops.sh
|
||||
)
|
||||
if [ "$?" -eq 0 ]; then
|
||||
echo lkmc_test_pass
|
||||
exit 0
|
||||
else
|
||||
echo lkmc_test_fail
|
||||
exit 1
|
||||
fi
|
||||
Reference in New Issue
Block a user