xref: /linux/fs/smb/Kconfig (revision bd1886d6e4ca6b84041d17ba6e11d0f85f7ee1a4)
138c8a9a5SSteve French# SPDX-License-Identifier: GPL-2.0-only
238c8a9a5SSteve French#
338c8a9a5SSteve French# smbfs configuration
438c8a9a5SSteve French
538c8a9a5SSteve Frenchsource "fs/smb/client/Kconfig"
638c8a9a5SSteve Frenchsource "fs/smb/server/Kconfig"
7*1249c01aSStefan Metzmachersource "fs/smb/smbdirect/Kconfig"
838c8a9a5SSteve French
938c8a9a5SSteve Frenchconfig SMBFS
1038c8a9a5SSteve French	tristate
1138c8a9a5SSteve French	default y if CIFS=y || SMB_SERVER=y
1238c8a9a5SSteve French	default m if CIFS=m || SMB_SERVER=m
13480afcb1SChenXiaoSong
14480afcb1SChenXiaoSongconfig SMB_KUNIT_TESTS
15480afcb1SChenXiaoSong	tristate "KUnit tests for SMB" if !KUNIT_ALL_TESTS
16480afcb1SChenXiaoSong	depends on SMBFS && KUNIT
17480afcb1SChenXiaoSong	default KUNIT_ALL_TESTS
18480afcb1SChenXiaoSong	help
19480afcb1SChenXiaoSong	  This builds the SMB KUnit tests.
20480afcb1SChenXiaoSong
21480afcb1SChenXiaoSong	  KUnit tests run during boot and output the results to the debug log
22480afcb1SChenXiaoSong	  in TAP format (https://testanything.org/). Only useful for kernel devs
23480afcb1SChenXiaoSong	  running KUnit test harness and are not for inclusion into a production
24480afcb1SChenXiaoSong	  build.
25480afcb1SChenXiaoSong
26480afcb1SChenXiaoSong	  For more information on KUnit and unit tests in general please refer
27480afcb1SChenXiaoSong	  to the KUnit documentation in Documentation/dev-tools/kunit/.
28480afcb1SChenXiaoSong
29480afcb1SChenXiaoSong	  If unsure, say N.
30