Dmitry V. Levin | 4176d53 | 2014-09-21 22:42:45 +0000 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | |
| 3 | # Check how statfs/statfs64 syscalls are traced. |
| 4 | |
| 5 | . "${srcdir=.}/init.sh" |
| 6 | |
Dmitry V. Levin | 4176d53 | 2014-09-21 22:42:45 +0000 | [diff] [blame] | 7 | # this test probes /proc/self/status |
| 8 | [ -f /proc/self/status ] || |
| 9 | framework_skip_ '/proc/self/status is not available' |
| 10 | |
Dmitry V. Levin | 8f54664 | 2015-03-17 17:07:57 +0000 | [diff] [blame] | 11 | run_prog |
| 12 | run_strace -efile $args |
| 13 | match_grep |
Dmitry V. Levin | 4176d53 | 2014-09-21 22:42:45 +0000 | [diff] [blame] | 14 | |
| 15 | exit 0 |