ioctl: move doc to README

This commit is contained in:
Ciro Santilli
2018-07-01 17:44:38 +01:00
parent 084e3faf5a
commit d840b0cb65
7 changed files with 107 additions and 51 deletions

View File

@@ -1,5 +1,7 @@
#!/bin/sh
set -e
f=/sys/kernel/debug/lkmc_ioctl
insmod /ioctl.ko
/ioctl.out /sys/kernel/debug/lkmc_ioctl
[ "$(/ioctl.out "$f" 0 1)" = 2 ]
[ "$(/ioctl.out "$f" 1 1 1)" = '2 0' ]
rmmod ioctl

View File

@@ -5,6 +5,7 @@ for test in \
/character_device_create.sh \
/debugfs.sh \
/fops.sh \
/ioctl.sh \
/procfs.sh \
/seq_file.sh \
/seq_file_single_open.sh \