Andrew Bartlett
0ddafeba69
selftest: Cope with no binary argument being supplied to gdb_backtrace
...
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-24 13:17:19 +10:00
Andrew Bartlett
abb72170e4
selftest: Remove %PROG% argument from 'panic action'
...
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-24 13:08:04 +10:00
Rusty Russell
5eecc85423
tdb2: create tdb2 versions of various testing TDBs.
...
Soon, TDB2 will handle tdb1 files, but until then, we substitute.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-20 11:18:36 +02:00
Andrew Bartlett
bb00f97a82
s3-selftest Add a test for 'message command'
...
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-09 12:40:09 +02:00
Andrew Tridgell
0e1d7eb429
s4-testparm: testparm is now part of samba_tool
2011-06-06 12:26:11 +10:00
Stefan Metzmacher
8167e84073
selftest: create ncalrpcdir with 0755 permissions
...
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-23 13:26:33 +02:00
Matthieu Patou
fae229aa3d
selftest: Allow to test samba4 with ACL on read set
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-05-21 14:39:12 +04:00
Andrew Bartlett
14f99167f6
build: Remove --disable-s3build so we can rely on these subsystems
...
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-09 12:25:33 +02:00
Andrew Bartlett
a2caad24a1
selftest: don't override just-added username in plugin_s4_dc test
...
This will allow us to test a user added via smbpasswd as well as the
administrator added by provision.
Andrew Bartlett
2011-05-09 05:06:12 +02:00
Andrew Bartlett
f4d9b40d7f
selftest: Make the ncalrpc dir common between Samba4 and Samba3.
...
This also avoids creating the directory, as the startup routines will
create it with the correct permissions.
Andrew Bartlett
2011-05-08 19:00:29 +02:00
Andrew Bartlett
eae061293b
selftest: Add plugin_s4_dc environment
...
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-08 19:00:28 +02:00
Andrew Bartlett
3eb1023d52
selftest Use die() less often, as it fails to allow cleanup
2011-05-08 10:56:27 +02:00
Andrew Bartlett
1a5955deb0
selftest: Update README
2011-05-03 07:37:07 +02:00
Stefan Metzmacher
6ae2ecc4b8
selftest: use env.SELFTEST_PREFIX instead of hardcoded "${srcdir}/st"
...
metze
2011-04-30 12:47:18 +02:00
Andrew Bartlett
3542bd324e
selftest: Restore the s3member environment by avoiding smbcacls
...
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-29 16:38:16 +10:00
Andrew Bartlett
1c5cc4a2d1
s4-selftest: Don't use a hardcoded target DC name
...
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu Apr 28 07:34:31 CEST 2011 on sn-devel-104
2011-04-28 07:34:31 +02:00
Andrew Bartlett
f5487b3b47
selftest: Make combined test the default when s3build is enabled
2011-04-28 14:31:32 +10:00
Andrew Bartlett
34e3501a32
selftest: Fix combination of Samba3 and Samba4 test lists
...
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-28 14:31:25 +10:00
Andrew Bartlett
123097e879
selftest: Print a better warning warning message when smbcacls fails.
...
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-28 06:18:59 +02:00
Andrew Bartlett
b44f4325bb
selftest: Don't die() when the join fails
...
This kills off everything without a proper shutdown, and is difficult
to debug.
Andrew Bartlett
2011-04-28 05:30:21 +02:00
Andrew Bartlett
fb5e1f4a65
selftest: s3member admember test to confirm s3/s4 interopability
...
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-28 05:30:21 +02:00
Andrew Bartlett
ab46d66101
selftest: Make overwrite of $env->{target} optional
...
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-28 05:30:21 +02:00
Andrew Bartlett
aa8406cadf
s3-selftest: Use default name resolution methods (now that dns is emulated)
...
Now that we have emulated DNS, we can test Samba with the default name
resolve order.
Andrew Bartlett
2011-04-28 05:30:20 +02:00
Andrew Tridgell
ea95e0967b
s3-test: log to stdout for smbd/nmbd/winbindd
...
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-28 05:29:19 +02:00
Andrew Tridgell
7fa51fa130
selftest: we don't get valgrind errors any more with iconv
...
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-27 09:31:44 +02:00
Andrew Bartlett
2a9a9454e8
selftest: Make bindir_path much less complex
...
There is no need to pass it as a function pointer, just put it in 'Samba.pm'.
Andrew Bartlett
2011-04-27 11:22:07 +10:00
Andrew Bartlett
c18954775e
libcli/dns Improve dns_hosts_file, using Samba3's struct dns_rr_srv
...
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-26 17:16:34 +10:00
Andrew Bartlett
dfb490d551
selftest Consolidate server wall clock time limits
...
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-19 09:03:07 +02:00
Andrew Bartlett
5189cfca4e
selftest: move warning about invalid environments up to selftest.pl
2011-04-19 16:13:42 +10:00
Andrew Bartlett
5439553c96
selftest: Don't specify SELFTEST_TARGET as an env variable
...
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-19 16:13:42 +10:00
Andrew Bartlett
cfb4eb9d80
selftest Test for socket_wrapper support in combined samba target as well
2011-04-19 16:13:42 +10:00
Andrew Bartlett
1ac46518a7
selftest: Add hooks to enable a combined selftest run.
...
Andrew Bartlett
2011-04-19 14:26:59 +10:00
Andrew Bartlett
790ceec78b
s4-selftest Rename Samba4 'member' test environment to s4member
...
This will avoid a conflict with the s3 'member' environment.
Andrew Bartlett
2011-04-19 14:26:59 +10:00
Andrew Bartlett
55cb125312
s4-selftest: Move Samba4 test interfaces out of the way of the Samba3 tests.
...
This avoids a conflict when we merge the test suites.
2011-04-19 14:26:59 +10:00
Andrew Bartlett
148efda795
s3-selftest Fix interface localktest6 listens on.
...
Andrew Bartlett
2011-04-19 14:26:59 +10:00
Andrew Bartlett
9000188fb4
selftest Add combined 'Samba' target module
...
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-19 14:26:59 +10:00
Andrew Bartlett
aed450df0b
s4-selftest: Avoid duplicating the servers IP in the provision() sub arguments.
...
This should make it easier to change the IP address.
Andrew Bartlett
2011-04-19 14:26:58 +10:00
Andrew Bartlett
36d4bbfeef
s3-selftest Rename s3 DC environment to s3dc
...
This should avoid a clash with the s4 DC environment in a future
combined 'make test'.
Andrew Bartlett
2011-04-19 14:26:58 +10:00
Andrew Bartlett
8f58b13579
s4-selftest: Stop creating netbios aliases everywhere
...
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-19 14:26:58 +10:00
Andrew Bartlett
d041ed233d
selftest: put the target on the environment
...
This will allow us to have a 'switch' target type that creates
environments from Samba3 or Samba4 as required.
Andrew Bartlett
2011-04-19 10:03:49 +10:00
Andrew Bartlett
93f8f7b579
selftest: Allow the top level build to run the samba4 or samba3 tests
...
This is selected with for example
./buildtools/bin/waf test --target=samba3
Andrew Bartlett
2011-04-16 11:43:05 +02:00
Andrew Bartlett
d9e29c0250
selftest Remove selftest of the test subsystem
...
The intereactions between selftest.pl and the target are now too
complex to unit test like this any more.
Andrew Bartlett
2011-04-16 11:43:05 +02:00
Andrew Bartlett
47b7c6fccf
selftest: Move Samba4 selftest wscript to the top level
2011-04-16 11:43:04 +02:00
Andrew Bartlett
1870d25495
selftest Add binary mappings for samba3 selftest
...
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-16 11:43:04 +02:00
Andrew Bartlett
48bb69ef00
selftest: Start using the binary mapping at the python layer as well
2011-04-16 11:43:04 +02:00
Andrew Bartlett
4fd6ebf544
selftest: Remove duplication between BUILDIR and BINDIR
...
Just have BINDIR, and have it default to ./bin
Andrew Bartlett
2011-04-16 11:43:04 +02:00
Andrew Bartlett
cfb44f63a4
selftest: Remove unused BUILDDIR_ABS environment variable
2011-04-16 11:43:04 +02:00
Andrew Bartlett
831955ddf2
selftest: Provide a single bindir_path function across all targets
...
This will allow a mapping to be made between things like smbtorture4
-> smbtorture that is correct for the different build environments.
Andrew Bartlett
2011-04-16 11:43:04 +02:00
Andrew Bartlett
bb15aa58bc
s3/selftest Tear down the environment if we fail to connect
...
This removes the exit(1) that previously didn't tear down the
environment correctly, and instead just fails to set it up, allowing
the rest of the script handle that with more grace.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Apr 12 01:53:37 CEST 2011 on sn-devel-104
2011-04-12 01:53:37 +02:00
Stefan Metzmacher
02c6f9d0d9
selftest:Samba4: setup DC_* variables in provision_rpc_proxy()
...
The "rpc_proxy" should behave like "member", just with a different
configuration.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Apr 7 15:52:25 CEST 2011 on sn-devel-104
2011-04-07 15:52:25 +02:00
Andrew Bartlett
4cdbb88c4b
s3-selftest actually wait for smbclient to connect
...
This means that we actually have a working smbd. The previous code didn't know if it worked or not, and so created flaky tests.
Andrew Bartlett
2011-04-07 14:35:36 +10:00
Andrew Bartlett
1862e904a8
s3-selftest Fix use of the 'fake DNS' file
...
This ensures we don't use netbios before the hosts file and that we do
fill in the fake DNS zone correctly for the way we invoke smbtorture4.
Currently this works because the realm in client.conf is "", if this
changes then this will need to change too (perhaps an additional
entry).
Andrew Bartlett
2011-04-07 14:35:36 +10:00
Andrew Bartlett
d84a8d5343
s3-selftest Add tests to show kerberos works across a password change
...
It is important that a machine account password change does not
invalidate existing tickets.
This is only for the default kerberos method with a password in
secrets.tdb. The keytab based methods are still not tested.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Wed Apr 6 05:24:48 CEST 2011 on sn-devel-104
2011-04-06 05:24:48 +02:00
Andrew Bartlett
747ebc118a
s3-selftest names into DNS hosts file to avoid NBT lookups
...
NBT lookups cause trouble and variablity in 'make test', so it's much
better if we just use the fake DNS code. This code is only used by
smbtorture4 at this time, but the other client tools are generally
told to contact by IP address.
We need to contact by name to test Kerberos, and this should make the
kerberos tests much more reliable.
Andrew Bartlett
2011-04-06 12:34:58 +10:00
Andrew Bartlett
6351dee4d8
s3-selftest Add testing of kerberos login
...
This uses a pre-calculated credentials cache, that should be valid
until 2036.
Andrew Bartlett
2011-04-04 19:48:57 +10:00
Andrew Bartlett
ffb6003302
s3-selftest Disable log rotation in 'make test'
2011-04-04 19:48:43 +10:00
Andrew Bartlett
c8bc7089f5
s3-selftest Add tests for security=server
...
Andrew Bartlett
2011-03-29 00:00:23 +02:00
Björn Baumbach
2bfe9d1772
s3:selftest: fix Samba3.pm deprecated idmap config
...
Replace deprecated idmap uid and gid option with new
idmap config * : range
2011-03-22 22:49:58 +01:00
Stefan Metzmacher
ce45027816
selftest/Samba3: use 'debug pid=yes'
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sat Mar 19 10:55:34 CET 2011 on sn-devel-104
2011-03-19 10:55:34 +01:00
Andreas Schneider
0a2251da54
selftest: Added ncalrpc dir to config.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08 11:41:29 +01:00
Stefan Metzmacher
e90d5ab561
selftest/target/Samba4: regenerate the krb5.conf after the rodc join
...
The RODC should be used as KDC, which will forward requests to the RWDC
if required.
metze
2011-03-04 21:19:05 +01:00
Stefan Metzmacher
a8b3958f38
selftest/target/Samba4: splitout a mk_krb5_conf() function
...
metze
2011-03-04 21:19:05 +01:00
Andrew Bartlett
985c7da604
selftest: Improve gdb_backtrace to run in batch mode
...
Following Tridge's advice, we need to have no input (/dev/null) and
-batch for reliable opeation on big backtraces.
We should also use --pid, and let gdb find the binary
Andrew Bartlett
2011-02-22 16:20:10 +11:00
Andrew Bartlett
6c1ce36ec9
selftest pass in srcdir into Samba3 target module
2011-02-22 16:20:10 +11:00
Andrew Bartlett
a82d9e4e72
s3-selftest convert tests.sh to python
...
This should allow us a much better chance of invoking the subunit
wrappers in the right way, at the right level.
Andrew Bartlett
2011-02-22 16:20:10 +11:00
Andrew Bartlett
0b066b88df
selftest split $PERL into multiple arguments for Test::More check
2011-02-22 16:20:10 +11:00
Andrew Bartlett
a056792294
selftest move selftesthelpers to a top level helper script
2011-02-22 16:20:09 +11:00
Andrew Bartlett
1650da8a99
Add tests for various s3 auth modes
2011-02-22 14:50:14 +11:00
Andrew Tridgell
3bcb693e27
s4-test: fixed test_samba4.pl for top level build
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-07 13:22:00 +11:00
Andrew Tridgell
b038aca5c8
s4-loadparm: removed "setup directory" option
...
the correct setup directory is known at both build time and install
time using dyn_SETUPDIR, so we no longer have any need to override it
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-07 13:22:00 +11:00
Andrew Tridgell
6484da4859
s4-test: allow make test to work from top level directory
...
this fixes the path assumptions in Samba4 make test to allow it to
work from the top level directory.
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-07 13:22:00 +11:00
Andreas Schneider
d0d5d59943
s3-smbd: Disable the endpoint mapper by default.
2011-02-02 12:44:20 +01:00
Jeremy Allison
86d06ad103
Fix "make test" - ensure nmbd runs with -S (log to stdout).
...
Also ensure nmbd socket directory isn't created (nmbd will create it).
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Tue Jan 11 00:30:52 CET 2011 on sn-devel-104
2011-01-11 00:30:52 +01:00
Jeremy Allison
04987bd843
Explicitly set "nmbd: socket dir" in the test environment.
...
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sat Jan 8 07:17:22 CET 2011 on sn-devel-104
2011-01-08 07:17:22 +01:00
Stefan Metzmacher
3b0425c8c7
selftest: setup $ENV{TEST_DATA_PREFIX}
...
metze
2010-12-27 15:37:55 +01:00
Günther Deschner
a43a1d9226
s3-selftest: support differing VFSLIBDIR in autoconf and waf build.
...
With this change make test in the s3 waf build (w/o s4 smbtorture yet) works!
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Dec 13 13:06:05 CET 2010 on sn-devel-104
2010-12-13 13:06:05 +01:00
Jelmer Vernooij
002acbbbd0
selftest: Support multiple instances of $LISTOPT.
2010-12-11 18:48:05 +01:00
Jelmer Vernooij
3b1ed52f2f
filter-subunit: Add --list argument.
2010-12-11 18:48:05 +01:00
Jelmer Vernooij
5f6dd9a608
selftest: Check exit code when listing tests.
2010-12-10 03:04:06 +01:00
Jelmer Vernooij
a957d8c80f
selftest: Rename $LIST to $LISTOPT for consistency with testrepository.
2010-12-10 03:04:06 +01:00
Jelmer Vernooij
e6974b0ff0
selftest: add --list option.
2010-12-10 03:04:06 +01:00
Jelmer Vernooij
34adc745ef
selftest: Document --testenv in --help output, remove documentation for
...
now obsolete --analyse-cmd.
2010-12-10 03:04:06 +01:00
Kai Blin
1f2518df5a
s4 libcli: Add libcli_echo lib and torture test
...
Autobuild-User: Kai Blin <kai@samba.org>
Autobuild-Date: Thu Dec 9 23:57:03 CET 2010 on sn-devel-104
2010-12-09 23:57:03 +01:00
Günther Deschner
6a93be43dc
s3-selftest: add WIN40 directory to print$ share.
...
Guenther
2010-11-29 15:35:19 +01:00
Matthieu Patou
c254527386
build: update gdb_backtrace to make it search for gdb66 as it work on freebsd
...
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Sun Nov 28 16:37:08 CET 2010 on sn-devel-104
2010-11-28 16:37:08 +01:00
Matthieu Patou
06beebd1e4
fix bad shell
2010-11-28 17:50:45 +03:00
Matthieu Patou
7e2b315ca0
add handling for solaris
...
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Sun Nov 28 13:32:21 CET 2010 on sn-devel-104
2010-11-28 13:32:21 +01:00
Matthieu Patou
e5eaed0180
remove useless debug message :-)
2010-11-27 17:18:19 +01:00
Jelmer Vernooij
3483adaf0a
selftest: Allow using ldb* utilities from system.
2010-11-27 03:48:20 +01:00
Matthieu Patou
90aa16122e
Make log level of the server configurable in make test
...
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Tue Nov 23 22:36:37 CET 2010 on sn-devel-104
2010-11-23 22:36:37 +01:00
Jelmer Vernooij
7f32c21ef0
selftest: Even if setting up an environment failed, the next tests may
...
still work.
2010-11-21 23:12:03 +01:00
Jelmer Vernooij
bbd77cbbac
subunithelper: Exit with 1 if more than zero testsuites failed or
...
errorred.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Nov 21 21:13:00 CET 2010 on sn-devel-104
2010-11-21 21:13:00 +01:00
Jeremy Allison
ac0ffba004
Add test that detects problems in the SMB signing code when run through cli_write() (which doesn't use the new async methods).
...
Unfortunately, and I think due to the socket wrapper code, this doesn't
detect the failure on the build farm, but running the RW-SIGNING test
separately against a Samba or Windows server using signing does.
Jeremy.
2010-11-10 18:07:51 -08:00
Jeremy Allison
092507c65a
Ensure we always have a mapped group for "Domain Users".
...
Needed for DC tests to pass with bugfix for bug #7777 .
Jeremy.
2010-11-08 13:39:51 -08:00
Andrew Bartlett
e77e162b97
s4-selftest fix indentation
2010-11-08 18:15:23 +11:00
Andrew Tridgell
a162b1a2d8
s4-join: switch over to the new DC join in make test
2010-11-06 14:36:26 +11:00
Matthieu Patou
ac3f8d859d
fix in_screen so that it works on os that don't chdir to $PWD
...
That's the case on freebsd 7.2
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Nov 5 09:27:19 UTC 2010 on sn-devel-104
2010-11-05 09:27:19 +00:00
Jelmer Vernooij
4f87f8f33e
filter-subunit: Add --fail-on-empty argument.
2010-11-03 17:05:19 +00:00
Andrew Bartlett
b8a0eb749f
s4-selftest Allow weak crypto so we can test DES-only behaviour.
...
Andrew Bartlett
2010-11-02 22:00:54 +11:00
Andrew Tridgell
43f7c9ca26
s4-test: we don't need to set LDB_MODULES_PATH any more
2010-11-01 18:55:19 +11:00
Matthieu Patou
3cef97ad0e
unit tests: remove trailling white spaces
...
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Sun Oct 31 23:10:55 UTC 2010 on sn-devel-104
2010-10-31 23:10:55 +00:00
Matthieu Patou
fda0f614d5
unit tests: allow make test to correctly and quickly exit in case of problem while provisionning a test environment
2010-10-31 22:28:15 +00:00
Andrew Tridgell
a00657db75
s4-test: don't override modules dir
...
it is set correctly during the build
2010-10-30 23:49:02 +11:00
Andrew Tridgell
ac8e910686
s4-modules: remove LD_SAMBA_MODULE_PATH
...
this isn't needed now that we automatically get the module path right
in our build and install trees
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-30 23:49:01 +11:00
Günther Deschner
9dd467b2d5
s3-selftest: add vfs_modulesdir variable for both test systems.
...
Guenther
2010-10-28 14:33:19 +00:00
Kai Blin
b73a05e4e1
s4 net: rename to samba-tool in order to not clash with s3 net
...
Autobuild-User: Kai Blin <kai@samba.org>
Autobuild-Date: Thu Oct 28 07:25:16 UTC 2010 on sn-devel-104
2010-10-28 07:25:16 +00:00
Andrew Tridgell
75d57dbc25
selftest: terminate selftest if we can't setup the environment
2010-10-19 14:53:39 +11:00
Matthieu Patou
b1a13e5e14
selftest: correct the import of Time::HighRes
...
The "use" is always evaluated first even if enclosed into a if. So
on plateform without Time::Hires (ie. sun8 in the build farm). This
leads to an error.
Instead we use the synthax require Module + Module->import("function")
2010-10-18 19:09:07 +00:00
Andrew Bartlett
f4c82c621d
s4-selftest Make GDB_PROVISION work again
...
gdb --args won't run the #!/usr/bin/evn python
Andrew Bartlett
2010-10-18 11:13:04 +00:00
Matthieu Patou
9d958ce582
build: make make tests SCREEN=1 work on freebsd
2010-10-10 16:03:35 +04:00
Kamen Mazdrashki
27f72fb19b
subunithelper: Don't access 'message' attribute directly as it deprecated
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Oct 10 01:50:09 UTC 2010 on sn-devel-104
2010-10-10 01:50:09 +00:00
Günther Deschner
505eaa9493
s3-selftest: enable smb2 torture tests against samba3.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Oct 5 14:38:07 UTC 2010 on sn-devel-104
2010-10-05 14:38:07 +00:00
Andrew Tridgell
dfb664a182
s4-selftest: support 'make testenv SCREEN=1'
...
this can be used to start a test envioronment in screen windows.
Use:
make testenv SCREEN=1 SELFTEST_TESTENV=dc
to launch just one environment (in this case, "dc")
2010-10-02 21:11:53 -07:00
Andrew Tridgell
b772871f4c
s4-selftest: added --screen option for test
...
you can now do:
make test TESTS="some test" SCREEN=1
while in GNU screen, and all the samba servers will launch in their
own new screen, named after the server name.
You can also do:
make test TESTS="some test" SCREEN=1 VALGRIND_SERVER=1
to run valgrind on each samba server, or
make test TESTS="some test" SCREEN=1 GDBTEST=1
to run gdb on each server
2010-10-02 21:11:52 -07:00
Andrew Tridgell
507c413e48
s4-selftest: fixed up exit codes on signals for make test
...
also set $ENVNAME in launched servers
2010-10-02 21:11:52 -07:00
Jelmer Vernooij
5cdef70823
subunithelper: Remove accidentally added line.
2010-10-02 23:32:12 +02:00
Jelmer Vernooij
14efa95593
subunithelper: Fix format time.
2010-10-02 22:31:31 +02:00
Jelmer Vernooij
72119de02b
subunithelper: Make filter options optional.
2010-10-02 18:41:14 +02:00
Jelmer Vernooij
d7edb40fca
format-subunit: Split out summary file writing.
2010-10-02 18:40:44 +02:00
Jelmer Vernooij
4ece674a99
selftest: Move plain text formatter to subunithelper.
2010-10-02 17:02:02 +02:00
Jelmer Vernooij
4190bd4e34
land: Move stage building into a separate class so we can have subclasses (e.g. subunit-specific).
2010-10-02 13:14:53 +02:00
Jelmer Vernooij
fbee3586fd
selftest: Let selftest provide the tempdir, rather than creating it as sideeffect of tests.py.
2010-10-01 01:31:06 +00:00
Jelmer Vernooij
124d9fc4d1
selftest: Avoid accessing deprecated BaseException.message.
...
Thanks to Andreas for pointing this out.
2010-09-30 10:31:03 +02:00
Jelmer Vernooij
02f87d1c36
format-subunit: Display number of failed tests even if there are no
...
failed testsuites.
2010-09-28 09:12:39 +02:00
Jelmer Vernooij
36ffe4f467
selftest: Abort early on SIGPIPE.
2010-09-28 09:12:39 +02:00
Jelmer Vernooij
7ac4a71072
Add dedicated exception for immediate failure in filter-subunit, don't raise it on known exceptions.
2010-09-28 09:12:39 +02:00
Andrew Tridgell
71f88c45a7
filter-subunit: added a --fail-immediately option
2010-09-28 09:12:38 +02:00
Jelmer Vernooij
ba5d034d53
selftest: If a testsuite is killed by a signal, let selftest die.
2010-09-25 12:20:56 -07:00
Andrew Bartlett
0bc3e15931
selftest Don't run 'speed' tests for very long
...
'make test' is too long, and the main thing we need with these
tests is to ensure they don't segfault - there is no need to benchmark
every box in the build farm, and we have no 'fail' metric in any case.
Andrew Bartlett
2010-09-24 09:25:44 +10:00
Jelmer Vernooij
e74b7091cd
selftest: Pass prefix to setup_env function.
2010-09-23 11:36:12 -07:00
Jelmer Vernooij
4c3985b584
selftest: Use variable for clientdir.
2010-09-23 11:36:12 -07:00
Jelmer Vernooij
20c95cf685
selftest: Fix testsuite counts when running only a limited number of
...
testsuites.
2010-09-22 22:29:09 -07:00
Jelmer Vernooij
3d0e6db9dc
selftest: Fix idlist running.
2010-09-22 22:29:09 -07:00
Jelmer Vernooij
9bce783878
selftest: Fix use of --load-list.
2010-09-22 22:29:08 -07:00
Jelmer Vernooij
7e31704762
selftest: Remove unused --analyse argument.
2010-09-22 17:48:25 -07:00
Jelmer Vernooij
6abe823ce6
subunithelper: Cope with errors outside of testsuites.
2010-09-22 17:48:23 -07:00
Jelmer Vernooij
31d5ac0540
selftest: Let tests add prefix to tests by themselve.
2010-09-22 17:48:23 -07:00
Jelmer Vernooij
7c1b00f4a8
selftest: Use idlist testing for python tests.
2010-09-21 22:54:37 -07:00
Jelmer Vernooij
bf907d2c4a
selftest: Support running individual tests using idlists, for testsuites that support them.
2010-09-21 22:54:35 -07:00
Jelmer Vernooij
e8b20039a7
selftest: Fix generation of test id file.
2010-09-21 22:54:34 -07:00
Jelmer Vernooij
bad0041390
s3-selftest: Move Samba3-specific script to source3/selftest.
2010-09-16 00:15:29 +00:00
Jelmer Vernooij
adf8ca6ff8
subunit: Re-add outputmsg.
2010-09-15 20:09:25 +02:00
Andrew Tridgell
99f514f233
s4-selftest: use the full domain name in joins
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-15 15:39:36 +10:00
Jelmer Vernooij
d286b1755c
selftest: Error out rather than die() when setting up an environment
...
fails.
2010-09-14 17:24:04 +02:00
Jelmer Vernooij
d98754ca93
selftest: If setting up environment fails, mark testsuites that use it as
...
errorring, don't skip it.
2010-09-14 17:24:04 +02:00
Jelmer Vernooij
dcadb90bd3
subunit: Use RemoteError when passing errors to upstream subunit.
2010-09-14 10:54:28 +02:00
Jelmer Vernooij
1e5ea0be84
subunit.pm: Fold Subunit::Filter into Subunit, trim further.
2010-09-14 10:54:28 +02:00
Jelmer Vernooij
c0923cfac1
subunit.pm: Remove output_msg/control_msg functions.
2010-09-14 10:54:28 +02:00
Jelmer Vernooij
7d4968e161
selftest: Remove testsuite parsing.
2010-09-14 10:54:28 +02:00
Jelmer Vernooij
d3960f6b40
subunit.pm: Simplify subunit handling in perl.
2010-09-14 10:54:28 +02:00
Jelmer Vernooij
49411fa107
subunit.pm: Pass through milliseconds in time reports.
2010-09-14 10:54:27 +02:00
Jelmer Vernooij
9f3a43c018
selftest: Report times in milliseconds rather than seconds.
2010-09-14 10:54:27 +02:00
Jelmer Vernooij
d67eeafc4d
subunit: Use standard subunit functions for reproducing subunit streams.
2010-09-14 10:54:27 +02:00
Jelmer Vernooij
d2fb9ce472
subunit: Remove unused methods.
2010-09-14 10:54:27 +02:00
Jelmer Vernooij
b61cc18972
subunit: Use standard functions for addSuccess, addExpectedFail,
...
addFailure, addSkip.
2010-09-14 10:54:27 +02:00
Jelmer Vernooij
c1fe7b498a
subunit: Use standard addError method implementation.
2010-09-14 10:54:27 +02:00
Jelmer Vernooij
881f610f06
subunit: Pass TestCase objects to startTest rather than test name strings.
2010-09-14 10:54:27 +02:00
Jelmer Vernooij
1626dc2bc9
subunit: Use subunit standard functions for handling time and progress.
2010-09-14 10:54:27 +02:00
Jelmer Vernooij
fb1c966652
subunit: Use standard subunit test protocol client, use standard name for startTest.
2010-09-14 10:54:27 +02:00
Jelmer Vernooij
8530d5afde
subunit: Initial work on using the standard TestResult class.
2010-09-14 10:54:26 +02:00
Stefan Metzmacher
f101349c73
selftest/s3-selftest.sh: knownfailure filtering for non-build-farm make test
...
metze
2010-09-10 17:21:34 +02:00
Günther Deschner
9962462278
s3-selftest: rename printer "print4" to "lp".
...
This should trigger a false error condition in our code.
Guenther
2010-09-10 00:26:26 +02:00
Andrew Tridgell
6bfe8b74aa
s4-test: added a RODC to our testing
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-09 21:39:24 +10:00
Jelmer Vernooij
851ad13047
selftest: Cope with parentheses in testnames in --load-list.
2010-09-05 03:16:48 +02:00
Jelmer Vernooij
474c98fe26
selftest/subunit: Parse timestamps generated by upstream subunit.
2010-09-05 03:14:44 +02:00
Jelmer Vernooij
ef9657017c
selftest: Print out unmatched tests when using --load-list.
2010-09-05 02:20:56 +02:00
Jelmer Vernooij
9550765304
testr: Fix configuration to use idfile, in case more than a couple of
...
hundred tests fail.
2010-09-04 21:13:37 +02:00
Jelmer Vernooij
bde18c6218
selftest: Don't make printing the log output a side-effect of check_env(), do it manually.
2010-09-04 21:08:35 +02:00
Jelmer Vernooij
3c2b733698
selftest: Remove stop() method, not used anywhere.
2010-09-04 18:24:02 +02:00
Jelmer Vernooij
7154e93b21
selftest/samba4: Remove references to Samba34.pm, which no longer
...
exists.
2010-09-04 18:18:55 +02:00
Jelmer Vernooij
025494b6bd
selftest: Refer to subunit README rather than documenting locally.
2010-09-04 18:03:19 +02:00
Andrew Tridgell
48323d88cc
selftest: run client tests with log level 1
...
this PIDL print functions to display
2010-09-04 12:29:10 +10:00
Andrew Tridgell
b7060c7c5c
s4-selftest: try DNS before bcast in selftest
...
this better reflects real usage
2010-09-02 13:37:08 +10:00
Kamen Mazdrashki
d15a7d9099
s4-testenv: Synchronize DCs after 'net vampire'
...
During 'net vampire', vampired DC adds information in its own
database, se we need to force replicate vampired_dc to the
first DC to be sure everything is in sync prior starting tests
2010-08-28 23:38:58 +03:00
Stefan Metzmacher
8e6f673929
selftest/Subunit.pm: fix perl warnings
...
Argument "\n" isn't numeric in numeric ne (!=) at selftest/Subunit.pm line 136
metze
2010-08-28 10:59:18 +02:00
Günther Deschner
433c08045e
s3-selftest: do not remove nsswrapper environment when running smbtorture4.
...
Guenther
2010-08-26 18:36:41 +02:00
Andreas Schneider
d132b3fbc0
s3-build: Don't paste the summary.
...
The buildfarm outputs the summary if it is available and use the exit
status of the filter or subunit formatter as exit code.
2010-08-26 13:42:08 +02:00
Jelmer Vernooij
3c7a7bbb9a
subunit: Make sure "]" in failure reason ends up on its own line, so the
...
next subunit parser in the line parses it correctly.
2010-08-26 04:04:37 +02:00
Jelmer Vernooij
64564f7338
subunithelper: Pass along lines as normal output when ignoring them for not containing commands.
2010-08-26 04:04:37 +02:00
Andreas Schneider
2eff142cce
s3-build: Use a wrapper script to run the tests.
...
This fixes the buildfarm and returns the correct exit code of selftest.
2010-08-25 12:39:52 +02:00
Stefan Metzmacher
de632de6ef
selftest/Samba4: set dreplsrv:periodic_startup_interval = 0
...
metze
2010-07-09 09:27:16 +02:00
Matthias Dieter Wallnöfer
b200d8a5ca
s4:selftest - activate the lanman password changes
...
This is needed for a working "OemChangePasswordUser2" operation.
2010-06-28 14:51:05 +02:00
Jelmer Vernooij
653b30f91f
selftest: Clarify generation of idlist option.
2010-06-25 11:32:59 +02:00
Andrew Bartlett
ff5ace20a2
s4:selftest Fix up netbios names for rpc_echo test
2010-06-23 20:10:12 +10:00
Andrew Bartlett
aba99e4464
s4:selftest For the moment the server role '2008_R2' is case sensitive
2010-06-23 20:10:11 +10:00
Andrew Bartlett
58a7b9af3f
s4:selftest Change netbios aliases to shorter names.
...
This makes the netbios names more sensible, and the aliases shorter.
(the name localfl2008rc2dc7 was too long...)
Andrew Bartlett
2010-06-23 20:10:10 +10:00
Andrew Bartlett
1acd49c524
s4:selftest Add 2003 and 2008R2 test environments and tests
...
These tests were chosen particularly because they are known to test things
that vary across the functional levels.
Andrew Bartlett
2010-06-23 20:10:08 +10:00
Jelmer Vernooij
237ab66f6c
selftest: Use scripted testparm.
2010-06-20 14:14:47 +02:00
Stefan Metzmacher
22eb6d7b6b
selftest/Samba4: make the naming of passwords more consistent
...
metze
2010-06-17 09:12:00 +02:00
Stefan Metzmacher
f26c0e5456
selftest/Samba4: let localfl2000dc use 127.0.0.5
...
Now we have 127.0.0.6-10 available for more servers.
metze
2010-06-17 09:11:59 +02:00
Stefan Metzmacher
8aed54adbf
selftest/Samba4: let localvampiredc use 127.0.0.2
...
metze
2010-06-17 09:11:59 +02:00
Stefan Metzmacher
6a0db03c80
selftest: use 127.0.0.11-16 for the client
...
This gives more room for servers.
Note: socket_wrapper currently only supports 127.0.0.1-16
see MAX_WRAPPED_INTERFACES.
metze
2010-06-17 09:11:59 +02:00
Stefan Metzmacher
1e8d025a3c
selftest/Samba3: remove unused create_clientconf() function
...
metze
2010-06-17 09:11:58 +02:00
Andrew Bartlett
0687a0c9dc
s4:selftest Change domain name for functional level 2000 DC
2010-06-16 09:57:52 +10:00
Andrew Bartlett
f9018bc0ea
s4:selftest Add test environment for functional level 2000
...
This required that we pass the name of the realm down as a parameter,
so we can start up two different realms.
Andrew Bartlett
2010-06-16 09:57:52 +10:00
Andrew Bartlett
697cd13978
s4:selftest Add vampire_dc test environment
...
This starts a domain controller, after running 'net vampire' to
populate it. We don't use it as the 'all' environment yet, as the
rest of the code isn't quite ready to handle it.
Andrew Bartlett
2010-06-16 09:57:51 +10:00
Andrew Bartlett
0800c9e6f1
s4:selftest Remove unused basedn specification in selftest env setup
2010-06-15 10:53:43 +10:00
Günther Deschner
3854f0708e
s3-selftest: Fix blackbox smbclient s3 tests during make selftest.
...
Guenther
2010-06-02 15:37:50 +02:00
Karolin Seeger
ea5c85aa42
selftest: Fix typo in comment.
...
Karolin
2010-06-01 09:45:19 +02:00
Jelmer Vernooij
598656985a
selftest: list.remove raises ValueError rather than KeyError.
2010-05-30 17:05:49 +02:00
Günther Deschner
a8d308faff
s3-selftest: fix chmod commands in provisioning.
...
Guenther
2010-05-29 00:38:21 +02:00
Günther Deschner
5232ce56cd
s3-selftest: make sure provisioned s3 looks the same in make selftest as in make test.
...
This fixes some tests that were previously failing.
Guenther
2010-05-29 00:12:15 +02:00
Matthieu Patou
a79b446e11
s4:smb_server: add dfs smbtorture to selftests
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-18 15:31:14 +02:00
Jelmer Vernooij
e22722ae64
selftest: Cope with empty testsuite results in more places.
2010-05-18 01:40:20 +02:00
Jelmer Vernooij
11ec2916a7
selftest: Cope with testsuites without any output whatsoever (probably an error though).
2010-05-18 01:40:20 +02:00
Matthias Dieter Wallnöfer
01347844f5
s4:selftest - change test passwords
...
The passwords need to be more complex to meet the new complexity criteria.
2010-05-10 12:20:26 +02:00
Andrew Tridgell
3dd50b2922
s4-test: make spnupdate work without make install
...
thanks to metze for noticing this
2010-04-27 19:47:23 +10:00
Günther Deschner
2a2de10ac6
s3-selftest: add print$ share with two arch dirs.
...
Guenther
2010-04-23 13:51:02 +02:00
Andrew Bartlett
fe3d872656
s4:selftest Ensure we don't fsync() all day in the LDAP backend test
...
Passing this option greatly reduces the time spent in the test.
Andrew Bartlett
2010-04-22 18:37:19 +10:00
Andrew Tridgell
540d197e49
s4-test: we don't need -s set for samba_dnsupdate
...
this is now handled by SMB_CONF_PATH
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-19 18:21:42 +10:00
Jelmer Vernooij
9db207da07
selftest: Cope with strict.
2010-04-12 16:35:18 +02:00
Jelmer Vernooij
7da94cc4a6
subunit: Support formatting compatible with upstream subunit, for consistency.
...
Upstream subunit makes a ":" after commands optional, so I've fixed any
places where we might trigger commands accidently. I've filed a bug
about this in subunit.
2010-04-11 20:57:33 +02:00
Jelmer Vernooij
d0ab7440ac
selftest: Accept 'testing:' to introduce new tests.
2010-04-11 20:57:33 +02:00
Jelmer Vernooij
664eacc53a
subunit: Don't abort when receiving test results from tests that weren't
...
announced.
2010-04-10 22:38:33 +02:00
Jelmer Vernooij
64bf8c400c
selftest: Support passing --load-list to test runners.
2010-04-10 22:38:32 +02:00
Jelmer Vernooij
ffb2449a13
selftest: Support --load-list option.
2010-04-08 23:20:35 +02:00
Jelmer Vernooij
2cf3585e52
selftest: Display minutes and hours for duration.
2010-04-07 21:58:32 +02:00
Jelmer Vernooij
e39ed552b6
selftest: Remove python2.4-isms
2010-04-06 04:01:54 +02:00
Jelmer Vernooij
74f36df4b3
selftest: Update sys.path before attempting to import external modules.
2010-03-31 04:52:13 +02:00
Jelmer Vernooij
c6b1553a2b
selftest: Make sure format-subunit and filter-subunit can find testtools/subunit.
2010-03-31 04:51:05 +02:00
Jelmer Vernooij
62ed8a68cd
format-subunit: Hide reason if it is None.
2010-03-31 03:34:50 +02:00
Jelmer Vernooij
49d82aa772
format-subunit: Don't show reason at all if it is None.
2010-03-31 03:32:23 +02:00
Jelmer Vernooij
31094b0e8c
smbtorture: Report number of available tests in a testsuite using subunit.
2010-03-31 02:57:47 +02:00
Jelmer Vernooij
9fe4b01ca6
selftest: Use boolean types in Python.
2010-03-31 02:20:09 +02:00
Jelmer Vernooij
6c299d28b5
selftest: Use standard subunit command for progress reporting.
2010-03-31 02:20:08 +02:00
Jelmer Vernooij
7f1360db51
selftest: Support parsing progress in format-subunit/filter-subunit.
2010-03-31 02:20:08 +02:00
Jelmer Vernooij
b2eb609d4d
selftest: Use standard subunit commands for progress reporting.
2010-03-31 02:20:08 +02:00
Jelmer Vernooij
08161e093d
selftest: Convert filter-subunit to Python so the subunit Python module
...
can be used later.
2010-03-31 02:20:07 +02:00
Jelmer Vernooij
ae5381d34c
format-subunit: Avoid printing backtrace on Ctrl-C.
2010-03-31 02:20:07 +02:00
Andrew Tridgell
21499a148e
selftest: reason may be None
...
jelmer, please check
2010-03-30 16:41:54 +11:00
Jelmer Vernooij
0cdc021ba4
selftest: Remove diff-subunit - it's included in subunit and not necessary for normal operation.
2010-03-30 01:08:20 +02:00
Jelmer Vernooij
c108a2e74e
format-subunit: Improve formatting, simplify code.
2010-03-30 01:08:20 +02:00
Jelmer Vernooij
ef3fb75261
selftest: Replace perl subunit formatter with python subunit formatter,
...
so we can leverage the work happening in python-subunit.
2010-03-30 01:08:20 +02:00
Jelmer Vernooij
0c78368a31
selftest: Convert format-subunit to Python.
2010-03-30 01:08:20 +02:00
Andreas Schneider
61106c0568
s3-selftest: Don't log to stdout, use logfiles instead.
...
The logging to the logfiles is more verbose and they can be found in
./st/dc/logs. If you still want to log to stdout start selftest with:
SMBD_OPTIONS="-S -d10" make selftest
2010-03-29 11:35:07 +02:00
Jelmer Vernooij
f4e314457f
selftest: Update locations in README.
2010-03-28 22:42:11 +02:00
Jelmer Vernooij
45f389b253
selftest: Remove unused BuildFarm output file (now using subunit)
2010-03-28 21:56:09 +02:00
Jelmer Vernooij
235cd3e5c4
selftest: Remove html subunit formatter; it's too simple and really belongs in subunit or testrepository upstream.
2010-03-28 21:46:58 +02:00
Jelmer Vernooij
b607f99688
Remove extension from format-subunit.
2010-03-28 21:46:58 +02:00
Günther Deschner
d3a22fc62b
s3-selftest: set "lpq cache time = 0" in server configuration.
...
This fixes currently broken spoolss tests.
Guenther
2010-03-26 23:01:19 +01:00
Andrew Tridgell
525a4fb2c4
util: on FreeBSD true is in /usr/bin. Use execvp to find it
2010-03-26 19:03:22 +11:00
Günther Deschner
f84f653066
s3-selftest: move printing config to global section.
...
Guenther
2010-03-25 00:55:13 +01:00
Andrew Tridgell
429102e6bd
subunit: fixed reporting of unexpected failures
2010-03-20 16:50:27 +11:00
Andrew Tridgell
77b77e6ba1
subunit: keep total error and failure counts
2010-03-20 16:50:27 +11:00
Günther Deschner
20d73f768d
s3-selftest: rearrange uid/gid calculation to achieve correct membership.
...
Guenther
2010-03-19 10:23:39 +01:00
Günther Deschner
a949c70ed8
s3-selftest: fix Samba3.pm provisioning after uid/gid changes.
...
Guenther
2010-03-18 15:12:07 +01:00
Günther Deschner
05cad2ea2f
s3-selftest: make sure we do not have duplicate uids/gids in nsswrapper.
...
Also make sure we only add root user when needed, Jeremy please check.
Guenther
2010-03-18 15:08:27 +01:00
Günther Deschner
3efaf5e6ba
s3-selftest: setup initial eventlog infrastructure.
...
Guenther
2010-03-17 22:59:20 +01:00
Andrew Bartlett
ca67768b66
s4:selftest Add file based DNS resolver to selftest environment
...
This will in future allow us to test 'net vampire' in the test
environment, using the file based DNS lookups to avoid us hitting real
DNS.
2010-03-12 13:22:21 +11:00
Andrew Bartlett
8529b0afc1
selftest: Remove dns_host_file every time we start
2010-03-12 13:22:20 +11:00
Stefan Metzmacher
46b0cbe879
selftest: let the client also use the dns_host_file
...
metze
2010-03-11 13:31:39 +01:00
Endi S. Dewata
02533c9f1b
s4:provision - Use netbios name for FDS instance name.
...
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-03-02 14:07:01 +11:00
Stefan Metzmacher
f79ff9582f
selftest/gdb_backtrace: call "info locals" too
...
metze
2010-03-01 13:33:05 +01:00
Andrew Tridgell
394a7ceeeb
s4-selftest: disable rndc and dns update in build farm
2010-02-23 13:48:21 +01:00
Andrew Bartlett
a8b2088a0e
s4:selftest Add infrastructure for testing against an RPC proxy
...
This also changes the 'testenv' code to use a new environment 'all'
(we may wish to make other complex tests depend on this in future),
and exports more names in more namespaces.
Andrew Bartlett
2010-02-19 16:32:49 +11:00
Günther Deschner
34ad5da5cd
s3-selftest: include addprinter/deleteprinter command.
...
Guenther
2010-02-18 02:27:04 +01:00
Andrew Tridgell
1e1b081189
s4-selftest: don't run rndc reload in selftest
...
We don't want rndc calls on the build farm
2010-02-11 21:04:15 +11:00
Jelmer Vernooij
17d6f56646
selftest: Cope with 'multipart' support in subunit.
2010-01-21 17:16:19 +13:00
Matthieu Patou
3471d3677a
selftest-s4: set the posix:eadb at the global level
2010-01-21 07:11:21 +13:00
Günther Deschner
c971c10a63
s3-selftest: use absolute path when setting SOCKET_WRAPPER_DIR.
...
Guenther
2010-01-19 14:14:30 +01:00
Kai Blin
a4f21d5dc8
s3 selftest: Allow the enumeration of users and groups
...
This fixes the WINBINDD_GETPWENT test.
2010-01-14 15:18:34 +01:00
Kai Blin
7147c8453e
selftest: Print reason when a test fails unexpectedly
2010-01-13 14:51:58 +01:00
Andrew Tridgell
d0123e0a9a
s4-selftest: when a command fails show both normal and expanded command
...
It is sometimes hard to tell which varient of something like
$SMB_CONF_PATH or $USERNAME is being used in a test. By giving both
the expanded command ($command with environment variables expanded)
and non-expanded command it is easier to reproduce bugs outside the
test environment.
2010-01-11 09:55:28 +11:00
Andrew Tridgell
1eebdfdbe7
s4-test: fixed make test without having done make install
...
client.conf didn't specify "setup directory"
2010-01-11 09:38:00 +11:00
Stefan Metzmacher
61f5adb256
selftest: Subunit/Filter.pm only allow expected failures without errors
...
metze
2009-11-18 08:24:13 +01:00
Stefan Metzmacher
35775c24d3
selftest: ignore empty lines in knownfailures
...
metze
2009-11-18 06:50:24 +01:00
Stefan Metzmacher
053fa03cd7
selftest/output/plain.pm: report the testuite name on error
...
metze
2009-11-18 06:50:23 +01:00
Stefan Metzmacher
259c1d73bf
selftest: make sure we don't buffer any output
...
metze
2009-11-17 09:00:46 +01:00
Stefan Metzmacher
36d0b1fa0d
selftest: Fix unexpected failure handline in Subunit/Filter.pm
...
We should only mark the testsuite as expected failure,
if there were more than 1 expected failure, but 0 unexpected
failures.
Before we ignored unexpected failures if there was an expected failure
within a testsuite.
metze
2009-11-17 09:00:46 +01:00
Endi S. Dewata
e035433bab
s4 - SID allocation using FDS DNA plugin
2009-11-02 16:36:54 +11:00
Andrew Tridgell
0fca2b078c
s4-selftest: lower some of the timeouts during make test
...
This speeds up some of the delay based tests by a lot. There is no
need to have long delays during testing.
2009-10-23 15:38:54 +11:00
Andrew Tridgell
606ff46447
selftest: make python run unbuffered
...
This makes some output in make test easier to follow
2009-10-22 12:47:54 +11:00
Andrew Tridgell
8d0959b2b1
selftest: try to get the valgrind errors showing again in the build farm
2009-10-19 22:58:23 +11:00
Andrew Tridgell
729c4b3eee
s4-selftest: fixed 'make testenv'
...
The 'TERM' variable is used for terminal type, so we can't use it for
what terminal to use.
2009-10-19 21:37:20 +11:00
Andrew Tridgell
38fbfdca4d
Revert "selftest: fixed filter to know about a "error" result"
...
This reverts commit 1de7e43fb4
.
This is much more delicate than it seems
2009-10-19 14:17:02 +11:00
Andrew Tridgell
1de7e43fb4
selftest: fixed filter to know about a "error" result
...
This is what caused some of the python tests to not match knownfail
entries
2009-10-19 13:51:17 +11:00
Andrew Kroeger
5afa115f2a
selftest: Account for 0-based months in date parsing and printing.
...
All:
Please find attached 2 patches to correct date/time parsing and output
in the Subunit processing. The first patch corrects the logic to
account for months being 0-based. The second corrects the time
formatting, as it is dealing with local, not "Z"ulu (UTC) time.
Sincerely,
Andrew Kroeger
>From 3cf81eea1309084a973359c7f6a2375d5d20a3f0 Mon Sep 17 00:00:00 2001
From: Andrew Kroeger <andrew@id10ts.net>
Date: Fri, 4 Sep 2009 01:24:00 -0500
Subject: [PATCH] selftest: Account for 0-based months in date parsing and printing.
2009-09-05 10:06:29 +10:00
Andrew Bartlett
5255ba3c4f
s4:selftest Confirm that there isn't a listener on the ldapi:// socket
...
This should help debug problems with 'make test' of the LDAP backend,
if a stray listener is still around.
Andrew Bartlett
2009-08-17 09:51:00 +10:00
Andrew Bartlett
f87811f6b3
s4:provision Rework provision-backend into provision
...
This removes a *lot* of duplicated code and the cause of much
administrator frustration. We now handle starting and stopping the
slapd (at least for the provision), and ensure that there is only one
'right' way to configure the OpenLDAP and Fedora DS backend
We now run OpenLDAP in 'cn=config' mode for online configuration.
To test what was the provision-backend code, a new --ldap-dryrun-mode
option has been added to provision. It quits the provision just
before it would start the LDAP binaries
Andrew Bartlett
2009-08-17 09:50:58 +10:00
Andrew Tridgell
2d7b457e26
fixed TESTS= in make test to allow multiple tests
...
Now you can do: make test TESTS="test1 test2" and it will run those
two tests, each matching tests using a case insensitive substring
match
2009-08-14 13:05:06 +10:00
Andrew Tridgell
ad542a630e
Allow selection of the samba4 process model for 'make test'
...
To choose the process model, set the environment variable
SAMBA_PROCESS_MODEL to the desired model. This will allow us to enable
the standard process model for some machines in the build farm without
enabling it for all of them. I don't want to just enable it
universally as I am concerned with total memory using during some of
the tests.
2009-08-12 14:41:44 +10:00
Andrew Tridgell
0ae3912f32
print server log on stderr as well as to log file
...
I think we are missing some important messages from the server during
'make test' because we don't show the log file contents during
runs. This patch uses tee to put the log messages to stderr so we can
see any server messages associated with the test that caused them.
2009-08-12 14:38:55 +10:00
Andrew Bartlett
69fa901bca
s4:selftest Don't start the slapd for the provision, only for the run
...
The provision-backend script now starts slapd for us
Andrew Bartlett
2009-08-12 10:01:49 +10:00
Andrew Bartlett
4921a5853b
s4:selftest Make OpenLDAP guess it's own modules from now on
...
In the releases of OpenLDAP we require (2.4.17) it can guess this much
itself, so no need for us to do it.
Andrew Bartlett
2009-08-12 10:01:48 +10:00
Oliver Liebel
28bcdf5266
s4:provision Rework and further automate setup of OpenLDAP backend
...
heres the summary of all changes/extensions:
- Andrew Bartlett's patch to generate indext
- Howard Chu's idea to use nosync on the DB included, but made optional
- slaptest-path is not needed any more (slapd -Ttest is used instead)
and is therefore removed. slapd-path is now recommended when
openldap-backend is chosen.
its also used for olc-conversion
- slapd-detection is now always done by ldapsearch (ldb module),
looking anonymous for objectClass: OpenLDAProotDSE via our ldapi_uri.
- if ldapsearch was not successfull, (no slapd listening on our socket)
slapd is
started via special generated slapdcommand_prov (ldapi_uri only)
- slapd-"provision-process" startup is done via pythons subprocess.
- the slapd-provision-pid is stored under paths.ldapdir/slapd_provision_pid.
- after provision-backend is finished:
--- slapd.pid is compared with our stored slapd_provision_pid.
if the are unique, slapd.pid will be read out, and the
slapd "provison"-process will be shut down.
--- proper slapd-shutdown is verified again with ldb-search -> ldapi_uri
-> rootDSE.
--- if the pids are different or one of the pid-files is missing, slapd
will not be shut down,
instead an error message is displayed to locate slapd manually
--- extended help-messages (relevant to slapd) are always displayed,
e.g. the commandline with which slapd has to be started when everythings
finished
(slapd-commandline is stored under paths.ldapdir/slapd_command_file.txt))
- upgraded the content of the mini-howto (howto-ol-backend-s4.txt)
2009-08-12 10:01:48 +10:00
Stefan Metzmacher
303c3b363b
selftest: configure "ncalrpc dir" for the client
...
Some torture tests will need this soon.
metze
2009-08-11 14:58:00 +02:00
Stefan Metzmacher
76d893b76e
selftest: fix typo lock => lockdir
...
metze
2009-08-11 14:58:00 +02:00
Andrew Tridgell
fd43e0ee09
added a uid_wrapper library
...
This library intercepts seteuid and related calls, and simulates them
in a manner similar to the nss_wrapper and socket_wrapper
libraries. This allows us to enable the vfs_unixuid NTVFS module in
the build farm, which means we are more likely to catch errors in the
token manipulation.
The simulation is not complete, but it is enough for Samba4 for
now. The major areas of incompleteness are:
- no emulation of setreuid, setresuid or saved uids. These would be
needed for use in Samba3
- no emulation of ruid changing. That would also be needed for Samba3
- no attempt to emulate file ownership changing, so code that (for
example) tests whether st.st_uid matches geteuid() needs special
handling
2009-08-05 10:51:00 +10:00
Andrew Bartlett
8ff1f50b0c
s4:kerberos Add support for user principal names in certificates
...
This extends the PKINIT code in Heimdal to ask the HDB layer if the
User Principal Name name in the certificate is an alias (perhaps just
by case change) of the name given in the AS-REQ. (This was a TODO in
the Heimdal KDC)
The testsuite is extended to test this behaviour, and the other PKINIT
certficate (using the standard method to specify a principal name in a
certificate) is updated to use a Administrator (not administrator).
(This fixes the kinit test).
Andrew Bartlett
2009-07-28 14:10:47 +10:00
Andrew Bartlett
cdd7a5208f
s4:kerberos Add test to show that we actually export the keytab
...
While it is hard to prove it is correct, at least the new
'nettestuser' principal and the Administrator principal are correct.
We had to fix the case of 'Administrator' in the selftest code to
match the DB, as the keytab lookup is case sensitive.
Andrew Bartlett
2009-07-27 22:41:43 +10:00
Jelmer Vernooij
57cd98de72
selftest: report time after testsuite, gives nicer output on the
...
buildfarm.
2009-06-17 21:37:49 +02:00
Jelmer Vernooij
89aed2771c
subunit: non-zero exit code if one or more testsuites failed.
2009-06-12 17:54:47 +02:00
Jelmer Vernooij
93384da226
selftest: Document the fact that test runner and formatter are now
...
separate tools.
2009-06-12 17:54:47 +02:00
Jelmer Vernooij
7c3f31a262
subunit: Pass canonical names of test results to formatters and filters.
2009-06-12 15:08:14 +02:00
Jelmer Vernooij
718f9be8a2
selftest: Add option to strip output of succeeded tests, and use it on
...
the buildfarm.
The matches the behaviour we had earlier in the previous output format.
2009-06-12 14:34:24 +02:00
Jelmer Vernooij
13e1654c4a
selftest: Remove existing buildfarm output format.
2009-06-12 14:21:15 +02:00
Jelmer Vernooij
994a4d35fc
format-subunit: Remove subunit output module.
...
We can still use "cat" to obtain a subunit stream from a subunit stream. :-)
2009-06-12 14:14:27 +02:00
Jelmer Vernooij
b8f36d3eb8
selftest/buildfarm: Don't assume that a reason being specified is an indication of failure.
2009-06-12 00:22:39 +02:00
Jelmer Vernooij
8fc3602582
subunit-filter: Print names of skipped testsuites.
2009-06-12 00:22:39 +02:00
Jelmer Vernooij
cc216340a6
selftest: Fix exit code for format-subunit.pl.
2009-06-11 20:00:00 +02:00
Jelmer Vernooij
3344df8d2f
selftest: Fix uninitialized variables in selftest output.
2009-06-11 20:00:00 +02:00
Jelmer Vernooij
2ffffcb220
subunit: Sort diff output.
2009-06-11 20:00:00 +02:00
Jelmer Vernooij
9faaffa87b
selftest: Make it easier to do subunit diffs from other apps.
2009-06-11 19:59:59 +02:00
Jelmer Vernooij
84f2d3001d
selftest/subunit: Add diff command that can diff two subunit streams.
2009-06-11 19:59:59 +02:00
Jelmer Vernooij
d8a77a798b
selftest: Properly recognize xfail testsuites.
2009-06-11 19:59:59 +02:00
Jelmer Vernooij
2e311fdac5
selftest/subunit: Remove open_tests argument from parse_results.
2009-06-11 19:59:59 +02:00
Jelmer Vernooij
ed61cc5419
selftest: Fix subunit formatting, fix years when filtering subunit
...
streams.
2009-06-11 19:59:59 +02:00
Jelmer Vernooij
68578d6374
selftest: Fix handling of testsuite, reintroduce progress indication.
2009-06-11 19:59:59 +02:00
Jelmer Vernooij
e979560c13
selftest: Remove unnecessary uses.
2009-06-11 19:59:59 +02:00
Jelmer Vernooij
8a76e4ab29
selftest/subunit: Remove prefix command.
2009-06-11 19:59:58 +02:00
Jelmer Vernooij
4308e69084
selftest: Fix subunit stream to include the right prefixes rather than
...
extending the subunit protocol.
2009-06-11 19:59:58 +02:00
Jelmer Vernooij
c278ee50ee
More work supporting prefixes.
2009-06-11 19:59:58 +02:00
Jelmer Vernooij
16a69f358a
selftest: Use external processes for filtering known failures and pretty
...
formatting.
2009-06-11 19:59:58 +02:00
Jelmer Vernooij
9bdf76c9c2
selftest: Avoid decreasing total testsuites if the original total is not
...
known.
2009-06-11 19:59:58 +02:00
Jelmer Vernooij
24f01e70aa
selftest: Use filter-xfail for known failures
2009-06-11 19:59:58 +02:00
Jelmer Vernooij
4e276fb60a
selftest: Add script to filter out known failures from a subunit stream.
2009-06-11 19:59:58 +02:00
Jelmer Vernooij
0e2f97092c
Subunit: Support "fail" as alias for "failure" in Subunit streams.
2009-06-11 19:59:58 +02:00
Jelmer Vernooij
9e108009d0
subunit: Move more Subunit printing logic to Subunit.pm.
2009-06-11 19:59:57 +02:00
Jelmer Vernooij
0a1dbf353d
subunit: Support the time: command.
2009-06-11 19:59:57 +02:00
Günther Deschner
9ac7e78041
s3-selftest: forward NSS_WRAPPER_WINBIND_SO_PATH env to tests.
...
Guenther
2009-06-08 11:03:07 +02:00
Jelmer Vernooij
b0654b3323
selftest: Add script that can take a subunit stream and format it.
2009-06-03 17:16:56 +02:00
Jelmer Vernooij
2e7022eda0
selftest/plain: Allow caller to not specify the number of expected
...
testsuites to run.
2009-06-03 17:16:25 +02:00
Jelmer Vernooij
4828f75fed
selftest: Fix target/Samba4 tests.
2009-06-03 16:26:30 +02:00
Jelmer Vernooij
4bbef3bcd8
Remove empty unit test.
2009-06-03 16:26:30 +02:00
Jelmer Vernooij
e72be91eba
selftest/README: Fix formatting.
2009-06-03 16:26:30 +02:00
Jelmer Vernooij
1dac17f941
selftest: Factor generic functionality for buildfarm output into a
...
separate perl module.
2009-06-03 16:26:30 +02:00
Jelmer Vernooij
641f8d62df
Support reporting current time in selftest output.
2009-06-03 16:26:30 +02:00
Jelmer Vernooij
53aeb7f4cf
selftest: Add subunit output format.
2009-06-03 16:26:29 +02:00
Günther Deschner
df167ee771
s3-selftest: Fix invalid /etc/group file used with nss_wrapper.
...
Found by torture test.
Guenther
2009-05-30 09:43:28 +02:00
Günther Deschner
7a5475f098
s3-selftest: use nss_wrapper.pl as "add user to group" and "delete user from group" script.
...
Guenther
2009-05-28 10:40:22 +02:00
Günther Deschner
e11f9b46c6
s3-selftest: add add and delete group scripts using nss_wrapper.
...
Guenther
2009-05-20 12:37:44 +02:00
Günther Deschner
94665adb48
s3-printing: Fix vlp testprinter application.
...
Jeremy, we cannot just access cache_path() here without calling lp_load and
friends as well as parsing configfile from the commandline in order to make
"make test/selftest" find the correct conffile with path, etc.
I just changed it to pass the target tdbfilename as an argument, ok ?
Guenther
2009-05-12 11:41:14 +02:00
Günther Deschner
6f4b5798c9
s3-selftest: need to enable lanman auth in order make RPC-SAMR-PASSWORDS pass.
...
Guenther
2009-05-08 00:46:54 +02:00
Jelmer Vernooij
79177c1d36
Specify explicit path to vlp, for those not having vlp in $PATH.
2009-04-22 23:56:35 +02:00
Kai Blin
2ee437e122
s4 selftest: Export the WINBINDD_SOCKET_DIR env var
2009-04-22 00:14:44 +02:00
Günther Deschner
18d475cea9
selftest: add a fake root user to nss_wrapper_passwd in s3.
...
Needed to make some server calls to get_root_nt_token() succeed.
make selftest/make test gurus, please check.
Guenther
2009-04-08 11:48:13 +02:00
Jelmer Vernooij
ea907a7144
selftest: Add copyright headers
2009-03-25 15:40:39 +01:00
Stefan Metzmacher
97a086d5c4
selftest/Samba3: Test smb signing against the member server
...
metze
2009-03-23 12:21:14 +01:00
Stefan Metzmacher
431fc718c1
selftest/Samba3: always use the same timeout for all servers
...
metze
2009-03-21 10:44:41 +01:00
Stefan Metzmacher
593ab6ac00
s4:selftest: rename SMBD_VALGRIND => SAMBA_VALGRIND
...
metze
2009-03-21 10:44:40 +01:00
Stefan Metzmacher
1ef206524d
selftest/Samba3: use the same sequence of signals to shutdown samba3 as with the shell scripts
...
When we kill the timelimit process with SIGKILL, it can't kill its
children...
metze
2009-03-20 14:41:11 +01:00
Andrew Bartlett
022946d196
Make the 'modules.conf' generation in the LDAP selftest simpler
...
The versions of OpenLDAP that we require don't need us to specify the
location any more - slaptest knows this from it's build time.
Andrew Bartlett
2009-02-24 20:49:59 +11:00
Simo Sorce
ca24822234
Fix GDB_PROVISION mode
2009-02-23 13:33:39 -05:00
Stefan Metzmacher
c3baf1529d
selftest/Samba4: pass down the kdc address down to provision_raw_*()
...
metze
2009-02-10 18:07:13 +01:00
Stefan Metzmacher
0d9531e2d3
selftest/Samba4: split out ldap specific stuff from provision_raw_*()
...
metze
2009-02-10 18:07:12 +01:00
Stefan Metzmacher
cfb9cbdf68
selftest/Samba4: split out share configurations of provision_raw*()
...
metze
2009-02-10 18:07:12 +01:00
Stefan Metzmacher
da12481df6
selftest/Samba4: split provision() into provision_raw_prepare() and provision_raw_run()
...
This functions will be reused soon for a Samba34.pm used by
a 'make selftest34'
metze
2009-02-10 18:06:49 +01:00
Stefan Metzmacher
f0e75ff363
selftest: s/SMBD/SAMBA/ in Samba.pm
...
metze
2009-02-10 11:47:24 +01:00
Stefan Metzmacher
76a2d068f5
selftest: allow "skip" as max runtime for smbd, nmbd and winbindd
...
metze
2009-02-10 11:47:02 +01:00
Stefan Metzmacher
bb88b03846
selftest: Samba3 protect against removing /*
...
metze
2009-02-10 11:47:01 +01:00
Stefan Metzmacher
3c1feb82c8
selftest: add target::Template
...
metze
2009-02-10 11:47:01 +01:00
Stefan Metzmacher
4248a8bf99
selftest: add my copyright
...
metze
2009-02-10 11:47:00 +01:00
Stefan Metzmacher
76db6f15dc
selftest/Samba3: use the same logic for make test and make selftest
...
See also commit 484c4a5955
metze
2009-02-04 09:25:36 +01:00
Stefan Metzmacher
a5f9816263
selftest: don't use hardcoded path to nmblookup in Samba4.pm
...
metze
2009-02-03 16:31:03 +01:00
Stefan Metzmacher
388da7ca97
selftest: export BUILDDIR, BUILDDIR_ABS and EXEEXT
...
metze
2009-02-03 16:31:03 +01:00
Stefan Metzmacher
016598717b
selftest: remove source4 specific stuff from selftest.pl
...
metze
2009-02-02 13:12:30 +01:00
Stefan Metzmacher
40b67c3426
selftest: pass down the path to python for provisioning samba4
...
metze
2009-01-30 20:39:44 +01:00
Stefan Metzmacher
6b128f03d5
selftest: don't export $CONFIGURATION anymore only $SMB_CONF_PATH
...
metze
2009-01-30 13:33:34 +01:00
Stefan Metzmacher
b88a0adbed
selftest: fix "none" test
...
metze
2009-01-30 10:31:36 +01:00
Stefan Metzmacher
fd82f593d7
selftest: fix default option name
...
metze
2009-01-30 10:03:45 +01:00
Stefan Metzmacher
52a49b448e
selftest: allow environment options
...
We support "local" and "client" (default) now.
We can decide if we want to run a client against the server
(with a special client.conf) or if we want to run tests localy
on the server with the same config as the server.
metze
2009-01-30 09:36:53 +01:00
Stefan Metzmacher
439172dc06
selftest: add "member" environment for Samba3
...
metze
2009-01-29 10:39:06 +01:00
Stefan Metzmacher
67bf7a2396
selftest: fix Samba3 bugs
...
metze
2009-01-29 10:31:48 +01:00
Stefan Metzmacher
9f8d80c699
selftest: Samba4 remove unused variable
...
metze
2009-01-28 22:17:24 +01:00
Stefan Metzmacher
6a41a2de8d
selftest: abstract Samba3 provision a bit
...
metze
2009-01-28 21:01:49 +01:00
Stefan Metzmacher
8b7c66512d
s3:selftest: fix 'make selftest'
...
metze
2009-01-28 17:32:50 +01:00
Stefan Metzmacher
ff39e0f6dd
selftest: set 'lock dir' in client.conf
...
metze
2009-01-28 12:01:20 +01:00
Stefan Metzmacher
db7ee3733f
s3: try to make 'make selftest' work again
...
metze
2009-01-28 10:07:12 +01:00
Stefan Metzmacher
6f6533aa81
selftest: add --exeext parameter
...
metze
2009-01-21 13:35:36 +01:00
Stefan Metzmacher
5a18607a3b
selftest:Samba4: add bindir_path() utility function to construct the binary pathes
...
metze
2009-01-21 13:35:35 +01:00
Stefan Metzmacher
ac364b4bab
selftest: bin/ is under $(builddir) instead of $(srcdir)
...
metze
2009-01-21 13:35:35 +01:00
Andrew Bartlett
18ef32f4ce
s4:selftest: lower debug level for slapd
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2008-12-17 12:29:27 +11:00
Jelmer Vernooij
069a6f0e4b
Disable lanman authentication by default in Samba 4.
2008-10-31 15:07:34 +01:00
Stefan Metzmacher
6bc9fb887f
selftest: move gdb_* and valgrind_* scripts to selftest/
...
metze
2008-10-28 12:20:59 +01:00
Jelmer Vernooij
0e36ffc675
selftest.pl: Silence verbose tdbsam output.
2008-10-23 16:42:45 +02:00
Jelmer Vernooij
7a683618e7
Require separate option for quicktest include list rather than making
...
assumptions about it.
2008-10-22 04:09:17 +02:00
Jelmer Vernooij
5018fef8cb
Fix path for quicktest.
2008-10-22 04:05:22 +02:00
Jelmer Vernooij
e422f638bc
Use socket wrapper for selftest.pl, find binaries correctly.
2008-10-21 17:48:05 +02:00
Jelmer Vernooij
dadde7e8f0
Make warning a bit more user-friendly.
2008-10-20 12:09:36 +02:00
Jelmer Vernooij
c3d8f472e8
Export variables correctly for blackbox tests (thanks metze).
2008-10-20 10:53:26 +02:00
Jelmer Vernooij
c0de338394
Move Samba4-specific code out of selftest.
2008-10-19 16:07:00 +02:00
Jelmer Vernooij
1ba9867e7a
Fix typo.
2008-10-19 14:53:55 +02:00
Jelmer Vernooij
0b3cf400db
Fix formatting in selftest help output.
2008-10-19 14:50:25 +02:00
Jelmer Vernooij
0fd0fc75c4
Merge branch 'master' of ssh://git.samba.org/data/git/samba into selftest
...
Conflicts:
selftest/selftest.pl
2008-10-11 03:12:21 +02:00
Jelmer Vernooij
69d38a95c2
keep obsolete file in samba4 source directory.
2008-09-18 19:53:05 +02:00
Jelmer Vernooij
182a0e3490
Move selftest code to top-level.
2008-09-18 19:51:03 +02:00