3 # Check that getdents/getdents64 syscalls are traced properly.
5 . "${srcdir=.}/init.sh"
8 AWKPATH="$srcdir" gawk -f "$srcdir"/getdents.awk "$srcdir"/getdents.out ||
9 framework_skip_ 'gawk does not work properly'
20 framework_skip_ 'failed to create a directory'
22 touch -- "$dir/$(for i in $(seq 1 127); do echo A; done; echo Z)" ||
23 framework_skip_ 'failed to create a file'
25 ls -- "$dir" > /dev/null ||
26 framework_skip_ 'failed to list a directory'
28 run_strace -vegetdents,getdents64 ls -- "$dir" > /dev/null