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