Dmitry V. Levin | 13c2173 | 2015-08-26 12:49:07 +0000 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | |
| 3 | # Check io_* syscalls decoding. |
| 4 | |
| 5 | . "${srcdir=.}/init.sh" |
| 6 | |
| 7 | run_prog > /dev/null |
| 8 | OUT="$LOG.out" |
Dmitry V. Levin | f56046e | 2015-08-26 17:48:40 +0000 | [diff] [blame] | 9 | syscalls=io_setup,io_submit,io_getevents,io_cancel,io_destroy |
Dmitry V. Levin | 13c2173 | 2015-08-26 12:49:07 +0000 | [diff] [blame] | 10 | run_strace -a14 -e trace=$syscalls $args > "$OUT" |
Dmitry V. Levin | f6a36f0 | 2015-08-26 22:29:41 +0000 | [diff] [blame] | 11 | match_diff "$OUT" "$LOG" |
Dmitry V. Levin | 13c2173 | 2015-08-26 12:49:07 +0000 | [diff] [blame] | 12 | rm -f "$OUT" |
| 13 | |
| 14 | exit 0 |