seq_file: move doc to README

This commit is contained in:
Ciro Santilli
2018-07-01 16:46:15 +01:00
parent 923f655811
commit 084e3faf5a
9 changed files with 97 additions and 82 deletions

View File

@@ -0,0 +1,7 @@
#!/bin/sh
set -e
f=/sys/kernel/debug/lkmc_seq_file_single_open
insmod /seq_file_single_open.ko
[ "$(cat "$f")" = "$(printf 'ab\ncd\n')" ]
[ "$(dd if="$f" bs=1 count=3 skip=1)" = "$(printf "b\nc\n")" ]
rmmod seq_file_single_open