]> granicus.if.org Git - strace/blob - tests/fstat.test
tests: use fixed timestamps in utime related tests
[strace] / tests / fstat.test
1 #!/bin/sh
2
3 # Check fstat 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
11 syscall=$NAME
12 run_prog > /dev/null
13 sample=$syscall.sample
14 > "$sample"
15 run_strace -ve$syscall -P$sample -a21 $args > "$EXP"
16 match_diff "$LOG" "$EXP"