Dmitry V. Levin | 2154702 | 2015-12-05 00:52:01 +0000 | [diff] [blame] | 1 | #!/bin/sh |
2 | |||||
3 | # Check fcntl decoding. | ||||
4 | |||||
5 | . "${srcdir=.}/init.sh" | ||||
6 | |||||
7 | run_prog > /dev/null | ||||
8 | OUT="$LOG.out" | ||||
9 | syscall=${ME_%.test} | ||||
10 | run_strace -a8 -e$syscall $args > "$OUT" | ||||
11 | match_diff "$LOG" "$OUT" | ||||
12 | rm -f "$OUT" | ||||
13 | |||||
14 | exit 0 |