summaryrefslogtreecommitdiff
path: root/source3/script/tests/selftest.sh
AgeCommit message (Collapse)AuthorFilesLines
2010-04-13Add basic DFS tests.Jeremy Allison1-0/+18
Jeremy.
2010-03-26s3-selftest: set "lpq cache time = 0" in server configuration.Günther Deschner1-0/+1
This fixes currently broken spoolss tests. (make test variant). Guenther
2010-03-25s3-selftest: move printing config to global section.Günther Deschner1-8/+9
"make test" variant. Guenther
2010-03-19s3-selftest: rearrange uid/gid calculation to achieve correct membership.Günther Deschner1-21/+25
(make test variant) Guenther
2010-03-18s3-selftest: make sure we do not have duplicate uids/gids in nsswrapper.Günther Deschner1-15/+31
Guenther
2010-03-17s3-test: setup initial eventlog infrastructure.Günther Deschner1-1/+6
Guenther
2010-03-09Add tests which, when run as root, will ensure we can't writeJeremy Allison1-6/+27
into a read-only directory, or read a owner-read-only file. Jeremy.
2010-03-09Allow "make test" to complete as root. Obviously only safe on tightlyJeremy Allison1-0/+16
controlled developer machines. Jeremy.
2010-02-22A test "store create time" parameter got commited by accident. Remove it.Jeremy Allison1-1/+0
Jeremy.
2010-02-18s3-selftest: include addprinter/deleteprinter command.Günther Deschner1-0/+3
Guenther
2010-01-27s3-selftest: try to get RPC-SPOOLSS-NOTIFY running during make test on the ↵Günther Deschner1-1/+3
buildfarm. Guenther
2010-01-19s3-selftest: use absolute path when setting SOCKET_WRAPPER_DIR.Günther Deschner1-1/+1
Guenther
2010-01-14s3 test: Fix WINBINDD-STRUCT testsKai Blin1-0/+3
The struct-based tests are working in make selftest, make them work in plain "make test" as well.
2009-11-25Add RAW-CHKPATH test with case-sensitive share.Jeremy Allison1-0/+3
Jeremy.
2009-11-05Remove the smbd:writetimeupdatedelay change Metze added. Metze pleaseJeremy Allison1-1/+1
explain why you added this. Change --maximum-runtime=900 for smbtorture4 with BASE-DELAYWRITE. Should allow it to successfully complete now. Jeremy.
2009-10-20Turn on LOCK9 test which will test for regressions in bug 6828.Jeremy Allison1-0/+2
Jeremy.
2009-10-11Use the method used by build_env.sh to discover the user name.Matt Kraai1-1/+9
so try USERNAME, then LOGNAME, then whoami, then id -un to find out who we are.
2009-08-12Move build over to storing DOS attributes in EA's.Jeremy Allison1-2/+4
Turn off "map to" directives. I've now fixed the issues with the build tests running this way. I think this is how most people run these days - please raise this on the list (or revert) if you disagree.
2009-08-12Add "store create time" parameter (docs to follow)Jeremy Allison1-0/+1
that stores the create time in the user.DosTimestamps EA. Jeremy.
2009-05-30s3-selftest: Fix invalid /etc/group file used with nss_wrapper.Günther Deschner1-0/+1
Found by torture test. Guenther
2009-05-28s3-selftest: use nss_wrapper.pl as "add user to group" and "delete user from ↵Günther Deschner1-5/+7
group" script. Guenther
2009-05-25s3-selftest: fix typo.Günther Deschner1-2/+2
Guenther
2009-05-20s3-selftest: add add and delete group scripts using nss_wrapper.Günther Deschner1-0/+2
Guenther
2009-05-12s3-printing: Fix vlp testprinter application.Günther Deschner1-7/+7
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-08s3-selftest: need to enable lanman auth in order make RPC-SAMR-PASSWORDS pass.Günther Deschner1-0/+1
Guenther
2009-04-29s3-test: make it possible to find the built vlp in "make test".Günther Deschner1-1/+9
Guenther
2009-04-08s3-selftest: add root for make test as well (not only make selftest).Günther Deschner1-0/+1
Guenther
2009-04-05Use the server config file for smbpasswd -a user in make testVolker Lendecke1-1/+1
Without this, smbpasswd generated a SID for the netbios name TORTURE_6. This SID somehow ended up in the user's token for quite a number of tests, leading to NT_STATUS_ACCESS_DENIED. I haven't fully understood what is going on here, but with this patch I could not reproduce the ACCESS_DENIED anymore. It might be coincidence and this patch does not fix anything, but for me it does not really hurt either. Metze, please check! Volker
2009-03-26Revert 757d403dfff023fdb122a155f6a05d33daa76410 - moduleJeremy Allison1-1/+1
order shouldn't matter & I have a more correct fix for this. Jeremy.
2009-03-26This should fix the build farm RAW-STREAMS failure. streams_depot.soJeremy Allison1-1/+1
depends on xattrs, and xattr_tdb was pushed *first* in the stack... Jeremy.
2009-03-09use LIB_PATH_VAR in selftest.sh if we have itBjörn Jacke1-6/+7
if we have LIB_PATH_VAR we should use it, otherwise we'll unobtrusively complain about not having it and use the most likely LD_LIBRARY_PATH. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-02-03Revert "s3:selftest: create BUILTIN\\Administrators at startup"Stefan Metzmacher1-7/+0
This reverts commit a849183f9492d09ccd7e273f955d4d8f2668fdf3. This is to racy for most of the build-farm machines, because winbindd doesn't start fast enough. metze
2009-02-03Revert "s3:test: try to find why creating BUILTIN\Administrators doesn't ↵Stefan Metzmacher1-5/+3
work in the build-farm" This reverts commit 20a1cb15699c781651593c68685ece91c03e6a18. I will also revert a849183f9492d09ccd7e273f955d4d8f2668fdf3 metze
2009-02-03s3:test: try to find why creating BUILTIN\Administrators doesn't work in the ↵Stefan Metzmacher1-3/+5
build-farm metze
2009-01-28s3:selftest: create BUILTIN\\Administrators at startupStefan Metzmacher1-0/+7
And add and remove the alias member via net rpc group instead of net sam. metze
2009-01-27Move S3 specific parameters to S3 conf file in make test.Steven Danneman1-2/+3
2009-01-26s3 make test: Fix a bug in the previous commitTim Prouty1-7/+8
Luckily the build farm caught this
2009-01-26s3 make test: Add the ability to specify a custom smb.conf for make testTim Prouty1-11/+44
- Adds new -c <custom conf> option to selftest.sh that when specified adds a line to make test's server.conf: "include <custom conf>" - Adds getopts processing to selftest.sh - Changes selftest.sh shrdir arg to use -s <shrdir> - Changes selftest.sh smbtorture4_path arg to use -t <smbtortur4 path> - Adds configure option --with-selftest-custom-conf=<custom conf> - Updates Makefile.in to take advantage of the new/changed parameters
2009-01-12Make STATEDIR and CACHEDIR configurable through ./configure and loadparm.cSteven Danneman1-0/+2
If they are not explicitely set in either place both will default to LOCKDIR. Signed-off-by: Michael Adam <obnox@samba.org>
2009-01-08Make sure smbtorture4 can find all gensec modules. (Fixes RPC-BINDSAMBA3)Jelmer Vernooij1-0/+1
2008-12-22Set right LD_LIBRARY_PATH for finding Samba4's libraries.Jelmer Vernooij1-8/+8
2008-12-01s3:selftest: test the streams_depot module as it passes make testStefan Metzmacher1-1/+1
The streams_xattr module only passes sometimes on my laptop. metze
2008-11-11s3: Add support for make test to use a share dir outside of the prefix dirTim Prouty1-7/+21
Some systems need to have the tdbs (and other files required for samba to run) on a different filesystem than the share directory that samba is exporting. This patch: - Adds an optional "shrdir" argument to selftest.sh - If shrdir is specified it will be used, otherwise the default will be used: "<prefix>/tmp" - Adds a new configure option: --with-selftest-shrdir - Plumbs shrdir through Makefile.in and configure.in
2008-09-18Fix location of nss_wrapper.pl script.Jelmer Vernooij1-3/+3
2008-06-17testsuite: don't give the testuser administrative rights globally.Michael Adam1-9/+0
It breaks RPC-SAMBA3-GETUSERNAME for reasons I have not quite understood yet. Somhow loosing rights fails when the user belogns to BUILTIN\Administrators at some point. Michael (This used to be commit 9fe99c69f35b005b66c1eacb5d999cc73f1bb521)
2008-05-06testsuite: give the testuser administrative rights in selftest.shMichael Adam1-0/+10
(by adding him to builtin\administrators) Michael (This used to be commit baea0615003cc2db8b27872e87064364f2deb079)
2008-05-06selftest: Advertise as PDC and time server during make testKai Blin1-0/+4
(This used to be commit 65c619b36d08ac2f24b622c71b7e05d50bdeea50)
2008-05-06selftest: Use TESTS env var to specify tests to run like Samba4 does.Kai Blin1-2/+2
(This used to be commit 6fb1fe803ccbd3af2946fcbe4586c11d394d5dc2)
2008-04-08selftest: run the BASE-DELAYWRITE test 4 times faster in make testStefan Metzmacher1-0/+1
metze (This used to be commit 83b6da7c52a6f5285a9765d22d13a53fe9dc80e5)
2008-04-01test: be more portable: replace 'echo -n' by 'printf "%s"' in selftest.shMichael Adam1-1/+1
Michael (This used to be commit b6122406fe938fdaf373ff45214db79de06eb989)