#!/bin/sh # Check ftruncate syscall decoding. . "${srcdir=.}/init.sh" run_prog > /dev/null OUT="$LOG.out" run_strace -a24 -eftruncate $args > "$OUT" match_diff "$LOG" "$OUT" rm -f "$OUT" exit 0