blob: c4586e1d76feec4d8ed79e61616eba7f22f5b462 [file] [log] [blame]
#!/bin/sh
# Check getrandom syscall decoding.
. "${srcdir=.}/init.sh"
run_prog > /dev/null
OUT="$LOG.out"
run_strace -e getrandom -xx -s3 -a32 $args > "$OUT"
match_diff "$LOG" "$OUT"
rm -f "$OUT"
exit 0