summaryrefslogtreecommitdiff
path: root/source3/script/tests
AgeCommit message (Collapse)AuthorFilesLines
2011-06-09s3-selftest Add a test for 'message command'Andrew Bartlett1-0/+48
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-04-27s3-test Make samba3.blackbox.net.local.registry.roundtrip reliableAndrew Bartlett1-2/+2
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-25s3: Some build farm machines do not have /bin/trueVolker Lendecke1-4/+7
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Apr 25 14:35:42 CEST 2011 on sn-devel-104
2011-04-25s3: Run pthreadpooltest in make testVolker Lendecke1-0/+17
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Apr 25 10:39:12 CEST 2011 on sn-devel-104
2011-04-16selftest Add binary mappings for samba3 selftestAndrew Bartlett4-13/+17
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-13s3: Add a test for sid2xidsVolker Lendecke2-0/+58
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-04s3-selftest Look only under source3 for smb.conf filesAndrew Bartlett1-1/+1
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-04s3-selftest Remove more instances of /tmp in test_smbclient_s3.shAndrew Bartlett1-4/+4
2011-03-29s3-selftest Fix test_smbclient_auth.shAndrew Bartlett1-12/+8
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-29s3-selftest unconditionaly include subunit.shAndrew Bartlett12-32/+4
we no longer . this file into other shell scripts, so we don't need this check any more. Andrew Bartlett
2011-03-05s3:test: mark vanished parameter "postscript" invalid in net registry ↵Michael Adam1-0/+1
roundtrip test
2011-03-05s3:test: in net registry roundtrip test, mark "lock dir" as invalid parameterMichael Adam1-0/+1
This is a synonym of lock directory which is already marked invalid.
2011-03-05s3:test: in net registry roundtrip test, exclude the files from exclude/logonMichael Adam1-1/+1
These files are not samba config files...
2011-03-05s3:test: correctly react to each failing step in the net registry roundtrip ↵Michael Adam1-0/+29
tests
2011-03-05s3:test: improve logging in the net registry roundtrip test stepsMichael Adam1-1/+7
2011-02-28s3:test: fix smbclient test on older systems (usage of mktemp)Michael Adam1-1/+1
--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-28s3:test: fix registry roundtrip test on older systems (usage of mktemp)Michael Adam1-1/+1
--tmpdir is not a valid option to mktemp on older systems
2011-02-22s3-selftest convert tests.sh to pythonAndrew Bartlett11-211/+92
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-22s3-tests use $PREFIX to ensure tests don't work outside the test areaAndrew Bartlett1-5/+6
Andrew Bartlett
2011-02-22Add tests for various s3 auth modesAndrew Bartlett3-5/+47
2011-02-21s3:tests: move the log directory of the smbclient_s3 test to st/Michael Adam1-7/+8
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-21s3:tests: clean up old log directories of the registry.roundtrip testMichael Adam1-1/+9
2011-02-19s3:tests: fix the smbclient_s3 test for multiple users running it.Michael Adam1-2/+16
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-19s3:tests: remove unused script/tests/test_functions.shMichael Adam1-202/+0
This is not used any more now with selftest.
2011-02-19s3:tests: include subunit.sh instead of test_functions.sh in test_posix_s3.shMichael Adam1-2/+2
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-19s3:tests: include subunit.sh instead of test_functions.sh in ↵Michael Adam1-2/+2
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-19s3:tests: include subunit.sh instead of test_functions.sh in ↵Michael Adam1-2/+2
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-19s3:tests: include subunit.sh instead of test_functions.sh in test_wbinfo_s3.shMichael Adam1-2/+2
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-19s3:tests: use the blackbox subunit output formatter for the testparm_s3 test.Michael Adam1-2/+2
With the old output, failures would go unnoticed by selftest.
2011-02-19s3:tests: include subunit.sh instead of test_functions.sh in test_local_s3.shMichael Adam1-2/+2
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-19s3:tests: use the blackbox subunit output formatter for the smbclient_s3 test.Michael Adam1-2/+2
With the old output, failures would go unnoticed by selftest.
2011-02-16s3:test: remove the give/take admin rights code from the net(rpc)registry testMichael Adam1-44/+0
This is not neede any more. The token has been fixed at the lower level on the dc.
2011-02-16s3:test: move the registry roundtrip test to a test script of its ownMichael Adam2-85/+109
2011-02-16s3:test: add comment header to test_net_registry.shMichael Adam1-2/+6
2011-02-16s3:test: use the blackbox subunit test driver in the net_registry tests.Michael Adam1-4/+3
2011-02-16s3:test: use the blackbox subunit test driver in the net_misc tests.Michael Adam1-2/+2
2011-02-16s3:test: add a simple failing blackbox testsuiteMichael Adam1-0/+39
2011-02-16s3:test: add a simple blackbox test that succeeds.Michael Adam1-0/+26
2011-02-15s3-selftest: move all skipped test to skiplist.Günther Deschner1-8/+0
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-15s3-selftest: when skipping tests, use the selftest/skip file.Günther Deschner1-18/+0
Guenther
2011-02-11s3-selftest: remove some more unused test functions.Günther Deschner1-132/+0
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-10s3-selftest: run the three net tests individually.Günther Deschner1-35/+0
Guenther
2011-02-10s3-oldtest: remove unused tests_all.sh file.Günther Deschner1-94/+0
Guenther
2011-02-08selftest: remove make oldtest.Günther Deschner1-513/+0
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-02s3-selftest: Enable RPC-EPMAPPER tests.Andreas Schneider1-1/+1
Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Feb 2 13:28:41 CET 2011 on sn-devel-104
2011-02-02s3-smbd: Disable the endpoint mapper by default.Andreas Schneider1-0/+2
2011-01-28Add delete-ln test now we can correctly delete hardlinks.Jeremy Allison1-1/+1
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Jan 28 01:24:19 CET 2011 on sn-devel-104
2011-01-21s3-net: add roundtrip tests for registry import/exportGregor Beck1-0/+88
2011-01-15Add OPLOCK4 test which explores how Windows copes with oplock and share mode ↵Jeremy Allison1-1/+1
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
2010-12-11s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij1-49/+49
This is consistent with the test names used by selftest, should make the names less confusing and easier to integrate with other tools. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104