4f47c43ce7
* tests/ioctl_kvm_run.c: New file. * tests/ioctl_kvm_run.test: New test. * tests/Makefile.am (DECODER_TESTS): Add ioctl_kvm_run.test. * tests/pure_executables.list: Add ioctl_kvm_run. * tests/.gitignore: Likewise. Co-authored-by: Dmitry V. Levin <ldv@altlinux.org>
12 lines
225 B
Bash
Executable File
12 lines
225 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Check decoding of KVM_* ioctl commands.
|
|
|
|
. "${srcdir=.}/init.sh"
|
|
|
|
check_prog grep
|
|
run_prog > /dev/null
|
|
run_strace -a36 -y -eioctl $args > "$EXP"
|
|
grep -v '^ioctl([012],' < "$LOG" > "$OUT"
|
|
match_diff "$OUT" "$EXP"
|