mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-24 10:41:35 +01:00
Sometimes I wonder if anyone has ever run this tutorial, otherwise how can such basic bugs persist for so long? test_all.sh: crete
15 lines
182 B
Bash
Executable File
15 lines
182 B
Bash
Executable File
#!/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
|