1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/testsuite
Ralph Boehme 9e706ee573 unittest: workaround dependency problem in test_lib_util_modules
waf somehow screws the dependencies and the module ends up with a bunch of
missing RPC related symbols once an RPC service has special dependencies like
the mdssvc RPC service.

  $ bin/test_lib_util_modules
  test: test_samba_module_probe
  success: test_samba_module_probe
  test: test_samba_module_probe_dummy
  Error loading module '/home/samba/src/bin/modules/rpc/test_dummy_module.so':
  /home/samba/src/bin/modules/rpc/test_dummy_module.so: undefined symbol:
  rpc_service_mode
  failure: test_samba_module_probe_dummy [
  NT_STATUS_IS_OK(status)
  ../../testsuite/unittests/test_lib_util_modules.c:39: error: Failure!
  ]
  test: test_samba_module_probe_slash
  success: test_samba_module_probe_slash

This is currently not noticed as mdssvc is not enabled in selftest, but that is
going to change with a subsequent commit.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2019-08-08 20:24:32 +00:00
..
headers testsuite/headers/wscript_build: update to handle waf 2.0.4 2018-09-05 06:37:24 +02:00
nsswitch testsuit: Fix fprintf format. 2013-11-15 11:07:40 -08:00
smbd Replace all uses of setXX[ug]id() and setgroups with samba_setXX[ug]id() calls. 2012-06-28 17:15:16 -07:00
unittests unittest: workaround dependency problem in test_lib_util_modules 2019-08-08 20:24:32 +00:00
README testsuite: Remove build_farm testsuites 2019-03-12 02:56:05 +00:00

README for testsuite directory
------------------------------

The Samba testsuite is divided up into the following subdirectories.

    - lib	      Various library files used by tool directories
    
    - nsswitch        Tests for nsswitch extensions

All the scripts require an unreleased
version of DejaGNU, and although they contain some useful tests they
are not so useful at the moment.  All scripts are migrating to a
single test framework, Satyr.  <cvs://cvs.samba.org/data/cvs/satyr>