Dmitry V. Levin | 4b3a170 | 2015-11-22 21:29:32 +0000 | [diff] [blame] | 1 | #!/bin/sh |
2 | |||||
3 | # Check name_to_handle_at and open_by_handle_at syscalls decoding. | ||||
4 | |||||
5 | . "${srcdir=.}/init.sh" | ||||
6 | |||||
7 | run_prog > /dev/null | ||||
8 | |||||
9 | OUT="$LOG.out" | ||||
10 | run_strace -ename_to_handle_at,open_by_handle_at $args > "$OUT" | ||||
11 | |||||
Dmitry V. Levin | 9c40599 | 2015-11-26 20:36:35 +0000 | [diff] [blame^] | 12 | match_diff "$LOG" "$OUT" |
Dmitry V. Levin | 4b3a170 | 2015-11-22 21:29:32 +0000 | [diff] [blame] | 13 | rm -f "$OUT" |
14 | |||||
15 | exit 0 |