Dmitry V. Levin | e837b14 | 2015-02-04 02:09:52 +0000 | [diff] [blame] | 1 | #!/bin/sh |
2 | |||||
Dmitry V. Levin | 10a4075 | 2015-09-18 21:45:36 +0000 | [diff] [blame] | 3 | # Check select syscall decoding. |
Dmitry V. Levin | e837b14 | 2015-02-04 02:09:52 +0000 | [diff] [blame] | 4 | |
5 | . "${srcdir=.}/init.sh" | ||||
6 | |||||
Dmitry V. Levin | 10a4075 | 2015-09-18 21:45:36 +0000 | [diff] [blame] | 7 | run_prog > /dev/null |
Dmitry V. Levin | 579a4aa | 2016-03-30 00:13:56 +0000 | [diff] [blame^] | 8 | syscall=$NAME |
Dmitry V. Levin | 69b7307 | 2015-12-08 17:38:12 +0000 | [diff] [blame] | 9 | run_strace -a36 -e$syscall $args > "$OUT" |
Dmitry V. Levin | 9c40599 | 2015-11-26 20:36:35 +0000 | [diff] [blame] | 10 | match_diff "$LOG" "$OUT" |
Dmitry V. Levin | 10a4075 | 2015-09-18 21:45:36 +0000 | [diff] [blame] | 11 | |
Dmitry V. Levin | 4960b2f | 2015-08-27 08:24:39 +0000 | [diff] [blame] | 12 | rm -f "$OUT" |
Dmitry V. Levin | e837b14 | 2015-02-04 02:09:52 +0000 | [diff] [blame] | 13 | |
14 | exit 0 |