Kconfig 785 B

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