1#!/bin/sh
2
3# Check truncate syscall decoding.
4
5. "${srcdir=.}/init.sh"
6
7run_prog > /dev/null
8OUT="$LOG.out"
9run_strace -etruncate $args > "$OUT"
10match_diff "$LOG" "$OUT"
11rm -f "$OUT"
12
13exit 0
14