blob: f61b04ec944de80a823019bb71963b2733fb7928 [file] [log] [blame]
Dmitry V. Levin13c21732015-08-26 12:49:07 +00001#!/bin/sh
2
3# Check io_* syscalls decoding.
4
5. "${srcdir=.}/init.sh"
6
7run_prog > /dev/null
8OUT="$LOG.out"
Dmitry V. Levinf56046e2015-08-26 17:48:40 +00009syscalls=io_setup,io_submit,io_getevents,io_cancel,io_destroy
Dmitry V. Levin13c21732015-08-26 12:49:07 +000010run_strace -a14 -e trace=$syscalls $args > "$OUT"
Dmitry V. Levinf6a36f02015-08-26 22:29:41 +000011match_diff "$OUT" "$LOG"
Dmitry V. Levin13c21732015-08-26 12:49:07 +000012rm -f "$OUT"
13
14exit 0