1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

713 Commits

Author SHA1 Message Date
Andrew Bartlett
3e85b960fa dynconfig: Have only one dynconfig.o in the common code. 2011-04-27 22:22:26 +10:00
Andrew Bartlett
9e29b09d39 s3-test Make samba3.blackbox.net.local.registry.roundtrip reliable
Looking for smb.conf files with find -name \*.conf would find and not
find all sorts of things that were just not valid inputs.  When
restricted to under source3 it then finds no inputs in the top level
build, as it only worked on the generated smb.conf files from 'make
test' environments.

Instead, just run it on the one file we know is valid, and if we want
to run it on more files, then we can make this test run against more
environments, or specific target files.

Andrew Bartlett
2011-04-27 21:10:30 +10:00
Volker Lendecke
40e0079bae s3: Some build farm machines do not have /bin/true
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Apr 25 14:35:42 CEST 2011 on sn-devel-104
2011-04-25 14:35:42 +02:00
Volker Lendecke
422b2fa0d0 s3: Run pthreadpooltest in make test
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Apr 25 10:39:12 CEST 2011 on sn-devel-104
2011-04-25 10:39:12 +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
Volker Lendecke
845d4d43c7 s3: Add a test for sid2xids
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13 14:13:25 -07:00
Andrew Bartlett
2d22bbf2c0 s3-selftest Look only under source3 for smb.conf files
This test looks for any .conf file with [global] in it, and assumes
it's a Samba3 format smb.conf file.  If 'make test' has been run in
the top level build, it was finding the smb.conf files it generated.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Mon Apr  4 23:50:06 CEST 2011 on sn-devel-104
2011-04-04 23:50:06 +02:00
Andrew Bartlett
841d0bc9e8 s3-selftest Remove more instances of /tmp in test_smbclient_s3.sh 2011-04-04 19:48:58 +10:00
Andrew Bartlett
2c0d80259a s3-selftest Fix test_smbclient_auth.sh
The -N in the command line meant that all the logins were as the
guest, not as the user specified.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Mar 29 00:47:50 CEST 2011 on sn-devel-104
2011-03-29 00:47:50 +02:00
Andrew Bartlett
2839391c7d s3-selftest unconditionaly include subunit.sh
we no longer . this file into other shell scripts, so we don't need
this check any more.

Andrew Bartlett
2011-03-29 00:00:23 +02:00
Michael Adam
916ff0bf55 s3:test: mark vanished parameter "postscript" invalid in net registry roundtrip test 2011-03-05 01:31:33 +01:00
Michael Adam
2fd2e2e75d s3:test: in net registry roundtrip test, mark "lock dir" as invalid parameter
This is a synonym of lock directory which is already marked invalid.
2011-03-05 01:31:33 +01:00
Michael Adam
541c580895 s3:test: in net registry roundtrip test, exclude the files from exclude/logon
These files are not samba config files...
2011-03-05 01:31:33 +01:00
Michael Adam
7b4fc4d745 s3:test: correctly react to each failing step in the net registry roundtrip tests 2011-03-05 01:31:33 +01:00
Michael Adam
f5ab9c1e77 s3:test: improve logging in the net registry roundtrip test steps 2011-03-05 01:31:32 +01:00
Michael Adam
e55937cfea s3:test: fix smbclient test on older systems (usage of mktemp)
--tmpdir is not a valid option to mktemp on older systems

Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Mon Feb 28 18:12:46 CET 2011 on sn-devel-104
2011-02-28 18:12:46 +01:00
Michael Adam
61c2bcdf20 s3:test: fix registry roundtrip test on older systems (usage of mktemp)
--tmpdir is not a valid option to mktemp on older systems
2011-02-28 17:27:18 +01: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
56c28d1cfb s3-tests use $PREFIX to ensure tests don't work outside the test area
Andrew Bartlett
2011-02-22 14:50:14 +11:00
Andrew Bartlett
1650da8a99 Add tests for various s3 auth modes 2011-02-22 14:50:14 +11:00
Michael Adam
1820084523 s3:tests: move the log directory of the smbclient_s3 test to st/
And use a proper mktemp call to create a unique name.
The old location under /tmp/ was bad.

Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Mon Feb 21 13:39:06 CET 2011 on sn-devel-104
2011-02-21 13:39:06 +01:00
Michael Adam
4ee1c7c493 s3:tests: clean up old log directories of the registry.roundtrip test 2011-02-21 12:50:06 +01:00
Michael Adam
8ad127e187 s3:tests: fix the smbclient_s3 test for multiple users running it.
The test created /tmp/log.smbclient, which lets the test fail if
two users are running the test simultaneously.

Now /tmp/log.test_smbclient_s3.$$ is used.

Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Sat Feb 19 13:06:57 CET 2011 on sn-devel-104
2011-02-19 13:06:57 +01:00
Michael Adam
0749f7a976 s3:tests: remove unused script/tests/test_functions.sh
This is not used any more now with selftest.
2011-02-19 12:23:24 +01:00
Michael Adam
93ca1bc410 s3:tests: include subunit.sh instead of test_functions.sh in test_posix_s3.sh
It would actually not be necessary at all to include a script providing
testit() and so on, since this script snippet is currently only sourced
in tests.sh to plan the included test.
2011-02-19 12:23:24 +01:00
Michael Adam
d03996afb5 s3:tests: include subunit.sh instead of test_functions.sh in test_ntlm_auth_s3.sh
It would actually not be necessary at all to include a script providing
testit() and so on, since this script snippet is currently only sourced
in tests.sh to plan the included test.
2011-02-19 12:23:24 +01:00
Michael Adam
6af6241040 s3:tests: include subunit.sh instead of test_functions.sh in test_smbtorture_s3.sh
It would actually not be necessary at all to include a script providing
testit() and so on, since this script snippet is currently only sourced
in tests.sh to plan the included test.
2011-02-19 12:23:24 +01:00
Michael Adam
4eb3da2b0e s3:tests: include subunit.sh instead of test_functions.sh in test_wbinfo_s3.sh
It would actually not be necessary at all to include a script providing
testit() and so on, since this script snippet is currently only sourced
in tests.sh to plan the included test.
2011-02-19 12:23:24 +01:00
Michael Adam
ae9aa47d6b s3:tests: use the blackbox subunit output formatter for the testparm_s3 test.
With the old output, failures would go unnoticed by selftest.
2011-02-19 12:23:24 +01:00
Michael Adam
a1bec01eeb s3:tests: include subunit.sh instead of test_functions.sh in test_local_s3.sh
It would actually not be necessary at all to include a script providing
testit() and so on, since this script snippet is currently only sourced
in tests.sh to plan the included test.
2011-02-19 12:23:24 +01:00
Michael Adam
745354eab8 s3:tests: use the blackbox subunit output formatter for the smbclient_s3 test.
With the old output, failures would go unnoticed by selftest.
2011-02-19 12:23:24 +01:00
Michael Adam
ae9eca61eb s3:test: remove the give/take admin rights code from the net(rpc)registry test
This is not neede any more.
The token has been fixed at the lower level on the dc.
2011-02-16 15:21:20 +01:00
Michael Adam
df4044ed33 s3:test: move the registry roundtrip test to a test script of its own 2011-02-16 12:56:41 +01:00
Michael Adam
7fb4f2e0d5 s3:test: add comment header to test_net_registry.sh 2011-02-16 12:56:41 +01:00
Michael Adam
dbc7896e33 s3:test: use the blackbox subunit test driver in the net_registry tests. 2011-02-16 12:56:41 +01:00
Michael Adam
ad6c3ec3e5 s3:test: use the blackbox subunit test driver in the net_misc tests. 2011-02-16 12:56:41 +01:00
Michael Adam
1430d17f2a s3:test: add a simple failing blackbox testsuite 2011-02-16 12:56:40 +01:00
Michael Adam
9164a57457 s3:test: add a simple blackbox test that succeeds. 2011-02-16 12:56:40 +01:00
Günther Deschner
0bfdb3e249 s3-selftest: move all skipped test to skiplist.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb 15 12:52:22 CET 2011 on sn-devel-104
2011-02-15 12:52:22 +01:00
Günther Deschner
c575d30a32 s3-selftest: when skipping tests, use the selftest/skip file.
Guenther
2011-02-15 12:09:22 +01:00
Günther Deschner
06d4e4cb2e s3-selftest: remove some more unused test functions.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Feb 11 00:33:58 CET 2011 on sn-devel-104
2011-02-11 00:33:58 +01:00
Günther Deschner
961f6295a9 s3-selftest: run the three net tests individually.
Guenther
2011-02-10 23:39:14 +01:00
Günther Deschner
97b03d5bfb s3-oldtest: remove unused tests_all.sh file.
Guenther
2011-02-10 18:37:18 +01:00
Günther Deschner
698d339ffd selftest: remove make oldtest.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb  8 22:16:31 CET 2011 on sn-devel-104
2011-02-08 22:16:31 +01:00
Günther Deschner
2534e01a3a s3-build: remove --samba3-ndr-client from build_idl.sh script.
Guenther
2011-02-02 20:53:15 +01:00
Andreas Schneider
5aae1f462e s3-selftest: Enable RPC-EPMAPPER tests.
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Wed Feb  2 13:28:41 CET 2011 on sn-devel-104
2011-02-02 13:28:41 +01:00
Andreas Schneider
d0d5d59943 s3-smbd: Disable the endpoint mapper by default. 2011-02-02 12:44:20 +01:00
Jeremy Allison
ba6dda1934 Add delete-ln test now we can correctly delete hardlinks.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri Jan 28 01:24:19 CET 2011 on sn-devel-104
2011-01-28 01:24:19 +01:00
Gregor Beck
64f8306e8e s3-net: add roundtrip tests for registry import/export 2011-01-21 10:10:03 +01:00
Jeremy Allison
dbaeb52ebe Add OPLOCK4 test which explores how Windows copes with oplock and share mode breaks on hard links.
Jeremy.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sat Jan 15 00:59:46 CET 2011 on sn-devel-104
2011-01-15 00:59:46 +01:00