1#!/bin/sh
2
3# Check readdir syscall decoding.
4
5. "${srcdir=.}/init.sh"
6
7rm -rf -- "$LOG".dir
8run_prog > /dev/null
9
10OUT="$LOG.out"
11run_strace -a16 -ereaddir $args > "$OUT"
12
13match_diff "$LOG" "$OUT"
14rm -f "$OUT"
15
16exit 0
17