blob: ae6d780feb83690da58996f2fe5ac7a16e855ca9 [file] [log] [blame]
Dmitry V. Levine837b142015-02-04 02:09:52 +00001#!/bin/sh
2
Dmitry V. Levin10a40752015-09-18 21:45:36 +00003# Check select syscall decoding.
Dmitry V. Levine837b142015-02-04 02:09:52 +00004
5. "${srcdir=.}/init.sh"
6
Dmitry V. Levin10a40752015-09-18 21:45:36 +00007run_prog > /dev/null
Dmitry V. Levin579a4aa2016-03-30 00:13:56 +00008syscall=$NAME
Dmitry V. Levin69b73072015-12-08 17:38:12 +00009run_strace -a36 -e$syscall $args > "$OUT"
Dmitry V. Levin9c405992015-11-26 20:36:35 +000010match_diff "$LOG" "$OUT"
Dmitry V. Levin10a40752015-09-18 21:45:36 +000011
Dmitry V. Levin4960b2f2015-08-27 08:24:39 +000012rm -f "$OUT"
Dmitry V. Levine837b142015-02-04 02:09:52 +000013
14exit 0