#!/bin/sh | |
# umovestr short read regression test | |
. "${srcdir=.}/init.sh" | |
OUT="$LOG.out" | |
EXP="$LOG.exp" | |
run_prog > /dev/null | |
run_strace -veexecve -s262144 $args > "$EXP" | |
check_prog sed | |
sed 1d < "$LOG" > "$OUT" | |
match_diff "$OUT" "$EXP" | |
rm -f "$EXP" "$OUT" | |
exit 0 |