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