fb2230665c
* tests/uname.test: Use uniq to filter strace output.
16 lines
242 B
Bash
Executable File
16 lines
242 B
Bash
Executable File
#!/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"
|