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