1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Copyright (c) Wipro Technologies Ltd, 2002.  All Rights Reserved.
4 */
5
6/*\
7 * [Description]
8 *
9 * This test is run for option 3 for sysfs(2).
10 * Return the total number of filesystem types currently present in the kernel.
11 */
12
13#include <errno.h>
14#include <unistd.h>
15#include <sys/syscall.h>
16#include "tst_test.h"
17#include "lapi/syscalls.h"
18
19static void verify_sysfs03(void)
20{
21	TST_EXP_POSITIVE(tst_syscall(__NR_sysfs, 3), "sysfs(3)");
22}
23
24static struct tst_test test = {
25	.test_all = verify_sysfs03,
26};
27