summaryrefslogtreecommitdiffstats
path: root/source3/script
Commit message (Collapse)AuthorAgeFilesLines
* s3-selftest use a more portable shell syntaxAndrew Bartlett2011-09-131-10/+10
| | | | | | | | | | | "$10" evaulates to $1 and 0, not the 10th argument. Thanks to Amitay for pointing this out! Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Sep 13 09:34:49 CEST 2011 on sn-devel-104
* s3-selftest: Set path to bin/net and bin/wbinfo in command line to test scriptsAndrew Bartlett2011-09-125-15/+20
| | | | | | | This makes it easier to reproduce these tests outside the test environment, as we rely less on environment variables. Andrew Bartlett
* build: Replace mkbuildoptions-waf awk script with waf targetAmitay Isaacs2011-09-071-273/+0
|
* s3-test: Added new testsuites for test net [rpc] confVicentiu Ciorbaru2011-08-221-0/+970
| | | | | | | | The script tests all commands present in the net conf tool. It is also possible to provide a fourth command line parameter 'rpc' in order to run the tests with the use of rpc. Signed-off-by: Michael Adam <obnox@samba.org>
* s3-test: Enhanced the net registry roundtrip test scriptVicentiu Ciorbaru2011-08-221-13/+14
| | | | | | | The script now supports an rpc mode, which is triggered by the presence of a fourth command line parameter "rpc" Signed-off-by: Michael Adam <obnox@samba.org>
* selftest: explain how the message command test worksAndrew Bartlett2011-07-291-0/+1
|
* s3:test: catch more errors in test_access_check() in the smbclient_s3 testMichael Adam2011-07-061-0/+16
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Jul 6 14:07:13 CEST 2011 on sn-devel-104
* s3:test: don't rely on pyhton being in /usr/bin/python in the sids2xids testMichael Adam2011-06-251-1/+1
| | | | | | | "/usr/bin/env pyhton" should always work as long as pyhton is in the path. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Sat Jun 25 01:07:15 CEST 2011 on sn-devel-104
* s3:test: fix the smbclient_s3 test on older systemsMichael Adam2011-06-241-1/+1
| | | | mktemp requires precisely six Xs at the end of the template name
* s3:test: fix the net registry roundtrip test on older systemsMichael Adam2011-06-241-1/+1
| | | | mktemp requires exactly Xs at the end of the template name on SLES8
* s3-buildoptions Show compiled-in location of the new ncaclrpc and nmbd socketsAndrew Bartlett2011-06-241-0/+2
| | | | | | (cherry picked from commit c558775713e505cfc1db5af417cc7b792dfc310e) Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-selftest Remove unused gdb_backtraceAndrew Bartlett2011-06-241-87/+0
| | | | | | The version in selftest/ has more features and is the one used by 'make test'. Andrew Bartlett
* s3-selftest Add test for smbclient --authentication-fileAndrew Bartlett2011-06-091-8/+50
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Jun 9 13:49:59 CEST 2011 on sn-devel-104
* s3-selftest Add a test for 'message command'Andrew Bartlett2011-06-091-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
* s3-build: Move generated config.h and config.h.in to include/autoconfAndrew Bartlett2011-05-091-1/+1
| | | | | | | This ensures that these are not found by the waf build, which causes issues when the wrong config.h is used by the recursive smbtorture build Andrew Bartlett
* dynconfig: Have only one dynconfig.o in the common code.Andrew Bartlett2011-04-272-2/+2
|
* s3-test Make samba3.blackbox.net.local.registry.roundtrip reliableAndrew Bartlett2011-04-271-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
* s3: Some build farm machines do not have /bin/trueVolker Lendecke2011-04-251-4/+7
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Apr 25 14:35:42 CEST 2011 on sn-devel-104
* s3: Run pthreadpooltest in make testVolker Lendecke2011-04-251-0/+17
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Apr 25 10:39:12 CEST 2011 on sn-devel-104
* selftest Add binary mappings for samba3 selftestAndrew Bartlett2011-04-164-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
* s3: Add a test for sid2xidsVolker Lendecke2011-04-132-0/+58
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3-selftest Look only under source3 for smb.conf filesAndrew Bartlett2011-04-041-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
* s3-selftest Remove more instances of /tmp in test_smbclient_s3.shAndrew Bartlett2011-04-041-4/+4
|
* s3-selftest Fix test_smbclient_auth.shAndrew Bartlett2011-03-291-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
* s3-selftest unconditionaly include subunit.shAndrew Bartlett2011-03-2912-32/+4
| | | | | | | we no longer . this file into other shell scripts, so we don't need this check any more. Andrew Bartlett
* s3:test: mark vanished parameter "postscript" invalid in net registry ↵Michael Adam2011-03-051-0/+1
| | | | roundtrip test
* s3:test: in net registry roundtrip test, mark "lock dir" as invalid parameterMichael Adam2011-03-051-0/+1
| | | | This is a synonym of lock directory which is already marked invalid.
* s3:test: in net registry roundtrip test, exclude the files from exclude/logonMichael Adam2011-03-051-1/+1
| | | | These files are not samba config files...
* s3:test: correctly react to each failing step in the net registry roundtrip ↵Michael Adam2011-03-051-0/+29
| | | | tests
* s3:test: improve logging in the net registry roundtrip test stepsMichael Adam2011-03-051-1/+7
|
* s3:test: fix smbclient test on older systems (usage of mktemp)Michael Adam2011-02-281-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
* s3:test: fix registry roundtrip test on older systems (usage of mktemp)Michael Adam2011-02-281-1/+1
| | | | --tmpdir is not a valid option to mktemp on older systems
* s3-selftest convert tests.sh to pythonAndrew Bartlett2011-02-2211-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
* s3-tests use $PREFIX to ensure tests don't work outside the test areaAndrew Bartlett2011-02-221-5/+6
| | | | Andrew Bartlett
* Add tests for various s3 auth modesAndrew Bartlett2011-02-223-5/+47
|
* s3:tests: move the log directory of the smbclient_s3 test to st/Michael Adam2011-02-211-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
* s3:tests: clean up old log directories of the registry.roundtrip testMichael Adam2011-02-211-1/+9
|
* s3:tests: fix the smbclient_s3 test for multiple users running it.Michael Adam2011-02-191-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
* s3:tests: remove unused script/tests/test_functions.shMichael Adam2011-02-191-202/+0
| | | | This is not used any more now with selftest.
* s3:tests: include subunit.sh instead of test_functions.sh in test_posix_s3.shMichael Adam2011-02-191-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.
* s3:tests: include subunit.sh instead of test_functions.sh in ↵Michael Adam2011-02-191-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.
* s3:tests: include subunit.sh instead of test_functions.sh in ↵Michael Adam2011-02-191-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.
* s3:tests: include subunit.sh instead of test_functions.sh in test_wbinfo_s3.shMichael Adam2011-02-191-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.
* s3:tests: use the blackbox subunit output formatter for the testparm_s3 test.Michael Adam2011-02-191-2/+2
| | | | With the old output, failures would go unnoticed by selftest.
* s3:tests: include subunit.sh instead of test_functions.sh in test_local_s3.shMichael Adam2011-02-191-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.
* s3:tests: use the blackbox subunit output formatter for the smbclient_s3 test.Michael Adam2011-02-191-2/+2
| | | | With the old output, failures would go unnoticed by selftest.
* s3:test: remove the give/take admin rights code from the net(rpc)registry testMichael Adam2011-02-161-44/+0
| | | | | This is not neede any more. The token has been fixed at the lower level on the dc.
* s3:test: move the registry roundtrip test to a test script of its ownMichael Adam2011-02-162-85/+109
|
* s3:test: add comment header to test_net_registry.shMichael Adam2011-02-161-2/+6
|
* s3:test: use the blackbox subunit test driver in the net_registry tests.Michael Adam2011-02-161-4/+3
|