Dmitry V. Levin | 7528a0b | 2015-11-19 16:39:32 +0000 | [diff] [blame^] | 1 | #!/bin/sh |
2 | |||||
3 | # Check getdents64 syscall decoding. | ||||
4 | |||||
5 | . "${srcdir=.}/init.sh" | ||||
6 | |||||
7 | rm -rf -- "$LOG".dir | ||||
8 | run_prog > /dev/null | ||||
9 | |||||
10 | OUT="$LOG.out" | ||||
11 | run_strace -a24 -vegetdents64 $args > "$OUT" | ||||
12 | |||||
13 | match_diff "$OUT" "$LOG" | ||||
14 | rm -f "$OUT" | ||||
15 | |||||
16 | exit 0 |