diff options
Diffstat (limited to 'testsuite/systemtap.syscall/acct.c')
-rw-r--r-- | testsuite/systemtap.syscall/acct.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/systemtap.syscall/acct.c b/testsuite/systemtap.syscall/acct.c new file mode 100644 index 00000000..ec392793 --- /dev/null +++ b/testsuite/systemtap.syscall/acct.c @@ -0,0 +1,10 @@ +/* COVERAGE: acct */ +#include <unistd.h> + +int main() +{ + acct("foobar"); + // acct ("foobar") = -NNNN (EPERM) + + return 0; +} |