strace/tests/readlink.test

15 lines
214 B
Plaintext
Raw Normal View History

#!/bin/sh
# Check readlink syscall decoding.
. "${srcdir=.}/init.sh"
syscall=${ME_%.test}
OUT="$LOG.out"
run_prog > /dev/null
run_strace -xx -e $syscall $args > "$OUT"
match_diff "$LOG" "$OUT"
rm -f -- "$OUT"