• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/sh
2
3# Check oldfstat syscall decoding.
4
5. "${srcdir=.}/init.sh"
6
7# strace -P is implemented using /proc/self/fd
8[ -d /proc/self/fd/ ] ||
9	framework_skip_ '/proc/self/fd/ is not available'
10
11syscall=$NAME
12run_prog > /dev/null
13sample=$syscall.sample
14> "$sample"
15run_strace -ve$syscall -P$sample -a21 $args > "$OUT"
16match_diff "$LOG" "$OUT"
17rm -f "$OUT"
18
19exit 0
20