Dmitry V. Levin | 431d63c | 2015-12-01 00:32:40 +0000 | [diff] [blame] | 1 | #!/bin/sh |
2 | |||||
3 | # Check truncate64 syscall decoding. | ||||
4 | |||||
5 | . "${srcdir=.}/init.sh" | ||||
6 | |||||
7 | run_prog > /dev/null | ||||
8 | OUT="$LOG.out" | ||||
9 | run_strace -etruncate64 $args > "$OUT" | ||||
10 | match_diff "$LOG" "$OUT" | ||||
11 | rm -f "$OUT" | ||||
12 | |||||
13 | exit 0 |