Samba4/Tests

From SambaWiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Test coverage information (regularly updated) can be found here:

Areas which need improvements wrt tests:

  • wins
  • tls
  • upgrade
  • dsdb
  • client
  • ctdb
  • lib/compression
  • lib/socket/access.c
  • lib/socket_wrapper
  • libcli/dgram
  • nbt_server/dgram
  • rpc_server/drsuapi
  • rpc_server/epmapper
  • rpc_server/remote
  • rpc_server/wkssvc
  • web_server/
  • winbind

Blackbox tests:

  • nmblookup

I'd also like to parse what tests have failed and what have succeeded in the build farm, so we can show a summary of what tests fail on the main build farm page.

Test environments

Currently supported test environments:

  • dc - A standalone Samba 4 DC
  • none - Nothing set up (used for local tests)
  • member - Samba4 DC with domain member joined to it

Run the testsuite with GDB

  • make test GDBTEST=1
  • ../buildtools/bin/waf test --quicktest --gdbtest

For other options see selftest/wscript file and assign values to dest keywords