1#!/bin/sh 2 3# Check readlinkat syscall decoding. 4 5. "${srcdir=.}/init.sh" 6 7syscall=readlinkat 8target=$syscall.c 9link=$syscall.link 10OUT="$LOG.out" 11 12ln -snf $target $link || 13 framework_skip_ 'failed to create a symlink' 14 15run_prog > /dev/null 16run_strace -e $syscall -xx -s3 $args > "$OUT" 17match_diff "$LOG" "$OUT" 18 19rm -f -- "$OUT" $link 20 21exit 0 22