summaryrefslogtreecommitdiff
path: root/selftest
AgeCommit message (Collapse)AuthorFilesLines
2011-06-24s4:selftest: test ntvfs.cifs with s4u2proxyStefan Metzmacher1-6/+49
Pair-Programmed-With: Björn Baumbach <bb@sernet.de> metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Jun 24 20:35:30 CEST 2011 on sn-devel-104
2011-06-24selftest/Samba4: correctly upper case the netbiosname variableStefan Metzmacher1-5/+7
metze
2011-06-24selftest: Cope with no binary argument being supplied to gdb_backtraceAndrew Bartlett1-11/+25
Modern versions of gdb are better than us at working out what binary is running, and so it is more reliable to omit the binary argument. This change is required because samba4 no longer supplies this argument. Andrew Bartlett
2011-06-24selftest: Remove %PROG% argument from 'panic action'Andrew Bartlett2-2/+2
The debugger or script will need to work out the binary from the PID, as %PROG% support was lost when the setup_fault() code was merged between Samba3 and Samba4. Andrew Bartlett
2011-06-20tdb2: create tdb2 versions of various testing TDBs.Rusty Russell2-1/+8
Soon, TDB2 will handle tdb1 files, but until then, we substitute. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-09s3-selftest Add a test for 'message command'Andrew Bartlett1-0/+2
This also provides us a way to test that the -n option to smbclient works, as that becomes part of the filename. Andrew Bartlett
2011-06-06s4-testparm: testparm is now part of samba_toolAndrew Tridgell1-1/+1
2011-05-23selftest: create ncalrpcdir with 0755 permissionsStefan Metzmacher1-2/+11
We need to reset the umask in order to set to the desired permissions. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon May 23 13:26:33 CEST 2011 on sn-devel-104
2011-05-21selftest: Allow to test samba4 with ACL on read setMatthieu Patou1-0/+3
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-05-09build: Remove --disable-s3build so we can rely on these subsystemsAndrew Bartlett1-3/+1
This will make it easier to write code that uses the whole codebase. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon May 9 12:25:33 CEST 2011 on sn-devel-104
2011-05-09selftest: don't override just-added username in plugin_s4_dc testAndrew Bartlett1-2/+0
This will allow us to test a user added via smbpasswd as well as the administrator added by provision. Andrew Bartlett
2011-05-08selftest: Make the ncalrpc dir common between Samba4 and Samba3.Andrew Bartlett2-7/+7
This also avoids creating the directory, as the startup routines will create it with the correct permissions. Andrew Bartlett
2011-05-08selftest: Add plugin_s4_dc environmentAndrew Bartlett2-0/+107
This environment uses pdb_samba4 and auth_samba4 to plug these critical subsystems into a mixed Samba3/Samba4 DC, in a similar way to the 'Franky' proposal. Andrew Barltett
2011-05-08selftest Use die() less often, as it fails to allow cleanupAndrew Bartlett2-9/+30
2011-05-03selftest: Update READMEAndrew Bartlett1-5/+6
2011-04-30selftest: use env.SELFTEST_PREFIX instead of hardcoded "${srcdir}/st"Stefan Metzmacher1-1/+1
metze
2011-04-29selftest: Restore the s3member environment by avoiding smbcaclsAndrew Bartlett2-15/+13
This removes the need for acls on the filesystem for simple domain member tests. ACL tests should be written at some point... Andrew Bartlett Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
2011-04-28s4-selftest: Don't use a hardcoded target DC nameAndrew Bartlett1-1/+1
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Apr 28 07:34:31 CEST 2011 on sn-devel-104
2011-04-28selftest: Make combined test the default when s3build is enabledAndrew Bartlett1-0/+2
2011-04-28selftest: Fix combination of Samba3 and Samba4 test listsAndrew Bartlett1-10/+25
The previous code was too subtle, and tried to filter via two xfail scripts. The --fail-immediately for the source3 knownfail would then fail samba4 know failures. Andrew Bartlett Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
2011-04-28selftest: Print a better warning warning message when smbcacls fails.Andrew Bartlett1-1/+1
These tests can't run on systems without posix ACLs. Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Apr 28 06:18:59 CEST 2011 on sn-devel-104
2011-04-28selftest: Don't die() when the join failsAndrew Bartlett1-5/+14
This kills off everything without a proper shutdown, and is difficult to debug. Andrew Bartlett
2011-04-28selftest: s3member admember test to confirm s3/s4 interopabilityAndrew Bartlett3-54/+168
This checks that Samba3 joins Samba4 correctly, and allows NTLM and Kerberos logons from a live Samba4 DC. This needs the common krb5.conf generation logic, and because we now override KRB5_CONFIG we must update ktest to have a valid krb5.conf. Based on an original patch by metze Andrew Bartlett
2011-04-28selftest: Make overwrite of $env->{target} optionalAndrew Bartlett1-2/+6
This allows a target to be a mix of Samba3 and Samba4, and chose it's own backend for check_env and get_log_env. Andrew Bartlett
2011-04-28s3-selftest: Use default name resolution methods (now that dns is emulated)Andrew Bartlett1-2/+0
Now that we have emulated DNS, we can test Samba with the default name resolve order. Andrew Bartlett
2011-04-28s3-test: log to stdout for smbd/nmbd/winbinddAndrew Tridgell1-3/+5
this prevents error messages from logfile creation before smb.conf is read Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Apr 28 05:29:19 CEST 2011 on sn-devel-104
2011-04-27selftest: we don't get valgrind errors any more with iconvAndrew Tridgell1-5/+0
this check was causing the CP850 warning in the combined build, as the s3 tests want CP850, but we don't have builtin support for that charset Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Apr 27 09:31:44 CEST 2011 on sn-devel-104
2011-04-27selftest: Make bindir_path much less complexAndrew Bartlett4-51/+51
There is no need to pass it as a function pointer, just put it in 'Samba.pm'. Andrew Bartlett
2011-04-26libcli/dns Improve dns_hosts_file, using Samba3's struct dns_rr_srvAndrew Bartlett1-0/+4
By reworking the 'fake DNS' file to use struct dns_rr_srv it should be possible to emulate that resolver layer as well as the Samba4 sockaddr_storage* based layer. This will then give us a common DNS emulation for 'make test'. Andrew Bartlett
2011-04-19selftest Consolidate server wall clock time limitsAndrew Bartlett4-50/+44
This helps ensure that we don't have the Samba3 servers stop before the full make test is finished. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Apr 19 09:03:07 CEST 2011 on sn-devel-104
2011-04-19selftest: move warning about invalid environments up to selftest.plAndrew Bartlett2-2/+5
2011-04-19selftest: Don't specify SELFTEST_TARGET as an env variableAndrew Bartlett1-1/+0
It is much more reliable to specify it as a direct parameter, and this is needed for the combined 'make test'. Andrew Bartlett
2011-04-19selftest Test for socket_wrapper support in combined samba target as wellAndrew Bartlett1-0/+3
2011-04-19selftest: Add hooks to enable a combined selftest run.Andrew Bartlett1-1/+12
Andrew Bartlett
2011-04-19s4-selftest Rename Samba4 'member' test environment to s4memberAndrew Bartlett1-4/+4
This will avoid a conflict with the s3 'member' environment. Andrew Bartlett
2011-04-19s4-selftest: Move Samba4 test interfaces out of the way of the Samba3 tests.Andrew Bartlett1-8/+8
This avoids a conflict when we merge the test suites.
2011-04-19s3-selftest Fix interface localktest6 listens on.Andrew Bartlett1-1/+1
Andrew Bartlett
2011-04-19selftest Add combined 'Samba' target moduleAndrew Bartlett4-3/+53
To work around environment variable handling, the initialisation of NSS_WRAPPER_WINBIND_SO_PATH is pushed in to Samba3.pm (the s3 autoconf build still overrides this) Andrew Bartlett
2011-04-19s4-selftest: Avoid duplicating the servers IP in the provision() sub arguments.Andrew Bartlett1-4/+9
This should make it easier to change the IP address. Andrew Bartlett
2011-04-19s3-selftest Rename s3 DC environment to s3dcAndrew Bartlett1-31/+31
This should avoid a clash with the s4 DC environment in a future combined 'make test'. Andrew Bartlett
2011-04-19s4-selftest: Stop creating netbios aliases everywhereAndrew Bartlett1-32/+9
This reduces some of the clutter when we have quite so many server configurations starting. The one case that actually needs an alias (dc environment for the test_nmblookup.sh test) will still keep it. Andrew Bartlett
2011-04-19selftest: put the target on the environmentAndrew Bartlett1-5/+11
This will allow us to have a 'switch' target type that creates environments from Samba3 or Samba4 as required. Andrew Bartlett
2011-04-16selftest: Allow the top level build to run the samba4 or samba3 testsAndrew Bartlett1-17/+33
This is selected with for example ./buildtools/bin/waf test --target=samba3 Andrew Bartlett
2011-04-16selftest Remove selftest of the test subsystemAndrew Bartlett1-21/+0
The intereactions between selftest.pl and the target are now too complex to unit test like this any more. Andrew Bartlett
2011-04-16selftest: Move Samba4 selftest wscript to the top levelAndrew Bartlett1-0/+201
2011-04-16selftest Add binary mappings for samba3 selftestAndrew Bartlett1-6/+6
This will help us have a top level 'make test', working around the fact that the --eanble-s3build has different names for some of these binaries, without fixing the names forever (we can just change the mapping later). Andrew Bartlett
2011-04-16selftest: Start using the binary mapping at the python layer as wellAndrew Bartlett1-0/+10
2011-04-16selftest: Remove duplication between BUILDIR and BINDIRAndrew Bartlett2-10/+7
Just have BINDIR, and have it default to ./bin Andrew Bartlett
2011-04-16selftest: Remove unused BUILDDIR_ABS environment variableAndrew Bartlett1-1/+0
2011-04-16selftest: Provide a single bindir_path function across all targetsAndrew Bartlett5-62/+71
This will allow a mapping to be made between things like smbtorture4 -> smbtorture that is correct for the different build environments. Andrew Bartlett