blob: f33dd978c132dbfbd601e1baf21bfbe6b38de47a [file] [log] [blame]
Fei Jieab917ae2016-03-10 10:41:31 +08001#!/bin/sh
2
3# Check dup syscall decoding.
4
5. "${srcdir=.}/init.sh"
6
7run_prog > /dev/null
8OUT="$LOG.out"
9run_strace -edup -a8 $args > "$OUT"
10match_diff "$LOG" "$OUT"
11rm -f "$OUT"