#!/bin/sh | |
# Check io_* syscalls decoding. | |
. "${srcdir=.}/init.sh" | |
run_prog > /dev/null | |
OUT="$LOG.out" | |
syscalls=io_setup,io_submit,io_getevents,io_cancel,io_destroy | |
run_strace -a14 -e trace=$syscalls $args > "$OUT" | |
match_diff "$LOG" "$OUT" | |
rm -f "$OUT" | |
exit 0 |