1#!/bin/sh
2
3# Check uname syscall decoding.
4
5. "${srcdir=.}/init.sh"
6
7check_prog uniq
8
9run_prog > /dev/null
10run_strace -v -euname $args > "$EXP"
11uniq < "$LOG" > "$OUT"
12
13run_prog "../$NAME" abbrev > /dev/null
14run_strace -euname $args >> "$EXP"
15uniq < "$LOG" >> "$OUT"
16
17match_diff "$OUT" "$EXP"
18