blob: e699f1cd1ed9d7b3a0b5aa336ab79b2afb0a28ee [file] [log] [blame]
#!/bin/sh
# Check uname syscall decoding.
. "${srcdir=.}/init.sh"
check_prog uniq
run_prog > /dev/null
OUT="$LOG.out"
EXP="$LOG.exp"
run_strace -v -euname $args > "$EXP"
uniq < "$LOG" > "$OUT"
match_diff "$OUT" "$EXP"
rm -f "$OUT" "$EXP"