summaryrefslogtreecommitdiff
path: root/tests/readlink.test
blob: 11f2569fb4429344f71e37781b36e1c2c35ed316 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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"