diff options
author | Abdulrasaq Lawani <abdulrasaqolawani@gmail.com> | 2024-08-01 05:29:52 -0400 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2024-08-01 13:55:34 -0600 |
commit | f0a1ffa6f9771c6a1283afab591781e7c797e2e1 (patch) | |
tree | fb3b88cd2a29a4df7fe5543cca5594ecc074f248 /tools/testing/selftests/acct/Makefile | |
parent | 44b045e27c65153cc8f549627d8d6d82f897c03c (diff) |
selftest: acct: Add selftest for the acct() syscall
The acct() system call enables or disables process accounting.
If accounting is turned on, records for each terminating process
are appended to a specified filename as it terminates. An argument of NULL
causes accounting to be turned off.
This patch will add a test for the acct() syscall.
Signed-off-by: Abdulrasaq Lawani <abdulrasaqolawani@gmail.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/acct/Makefile')
-rw-r--r-- | tools/testing/selftests/acct/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/testing/selftests/acct/Makefile b/tools/testing/selftests/acct/Makefile new file mode 100644 index 000000000000..7e025099cf65 --- /dev/null +++ b/tools/testing/selftests/acct/Makefile @@ -0,0 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0 +TEST_GEN_PROGS := acct_syscall +CFLAGS += -Wall + +include ../lib.mk
\ No newline at end of file |