xref: /linux/fs/smb/Kconfig (revision 6f7e6393d1ce636bb7ec77a7fe7b77458fddf701)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# smbfs configuration
4
5source "fs/smb/client/Kconfig"
6source "fs/smb/server/Kconfig"
7
8config SMBFS
9	tristate
10	default y if CIFS=y || SMB_SERVER=y
11	default m if CIFS=m || SMB_SERVER=m
12
13config SMB_KUNIT_TESTS
14	tristate "KUnit tests for SMB" if !KUNIT_ALL_TESTS
15	depends on SMBFS && KUNIT
16	default KUNIT_ALL_TESTS
17	help
18	  This builds the SMB KUnit tests.
19
20	  KUnit tests run during boot and output the results to the debug log
21	  in TAP format (https://testanything.org/). Only useful for kernel devs
22	  running KUnit test harness and are not for inclusion into a production
23	  build.
24
25	  For more information on KUnit and unit tests in general please refer
26	  to the KUnit documentation in Documentation/dev-tools/kunit/.
27
28	  If unsure, say N.
29