summaryrefslogtreecommitdiff
path: root/source3/script/tests/selftest.sh
AgeCommit message (Collapse)AuthorFilesLines
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)
2008-03-06Test: Properly track current test binary for tracking crashes.Michael Adam1-4/+9
Make sure the panic action always has the right test binary set. Michael (This used to be commit 567ac329dcec6fc839d6b25cbf1872f1f51ff7e5)
2008-01-20Active RAW-STREAMS in make testVolker Lendecke1-1/+1
(This used to be commit 63ee2ef775b48fcaecccf4dc7ef3601ceb8053c5)
2008-01-15rename vfs_ea_tdb to vfs_xattr_tdbVolker Lendecke1-1/+1
(This used to be commit 151b42a150a17f566e7b4055bbdbc0564a3c106d)
2008-01-15Implement vfs_ea_tdbVolker Lendecke1-0/+1
This is an option for file systems that do not implement xattrs: in lockdir/eas.tdb an array of xatts per inode is stored. It can not solve the problem that xattrs might reappear if a posix-level process deletes a file and happens to re-create it under the same name. On file systems with birthtime we might have a chance to detect this, but not with standard posix. A future version might put relief on file systems that do have xattrs but where these are severely limited in size/speed/whatever: We can put a simple marker as a native xattr, but the xattrs proper are stored in the tdb. Volker (This used to be commit 2036b4c5ad677b8a477b34b0f076febab0abff5e)
2007-12-23selftest: also export LD_LIBRARY_PATH for samba4's smbtortureStefan Metzmacher1-2/+11
metze (This used to be commit f5570dcf503a4b28ebf624d06fd090f3b6b0a560)
2007-12-23Attempt to make the build farm run s4torture againVolker Lendecke1-1/+1
(This used to be commit 04710626e174d7237521f33a351b4425add063b8)
2007-12-23Fix typo in output.Michael Adam1-1/+1
Michael (This used to be commit 2fe111c19bc827ec132365e718a2136bda57e568)
2007-12-21Fix "make test" using the LD_LIBRARY_PATH for selftest script soGerald (Jerry) Carter1-0/+4
smbd can locate the libwbclient library (if neccessary). (This used to be commit 481cc9ab6a6608e13710c93783ea4e62363e78be)
2007-12-14selftest: reenable wbinfo tests and pass --configfile instead of -sStefan Metzmacher1-1/+1
metze (This used to be commit 56251f78524416435299e26fca405e77d0f42043)
2007-12-14selftest: move workgroup name into WORKGROUP envvarStefan Metzmacher1-2/+3
metze (This used to be commit 8ace8fa82c2ccd6fdb9ca076fb2d6fed203c8126)
2007-11-09make test: try to get a more portable way to get UID and GIDStefan Metzmacher1-2/+2
metze (This used to be commit 0dc2d7ec010610c4bdab8eb6d488295a0259fbc9)
2007-11-09make test: start winbinddStefan Metzmacher1-1/+13
metze (This used to be commit 8ad4287cca5393a7fef148365aef2e2377c29280)
2007-11-09make test: activate nss_wrapper for make testStefan Metzmacher1-3/+28
metze (This used to be commit 02cfd283627bd8f10d7beb8d43cead35dd867346)
2007-10-31Fix some cases where file_set_dosmode was being passedJeremy Allison1-0/+2
False instead of NULL. Fix more of the notifications to be correct for Samba4 RAW-NOTIFY torture (we had missed one when calling set_ea_dos_attribute(). Jeremy. (This used to be commit 39d265375cf55eedddef2c4faa65398df73d5ed2)
2007-10-10[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.Gerald (Jerry) Carter1-3/+0
(This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)
2007-10-10r25104: Fix extra lines added by mistake.Jeremy Allison1-2/+2
Jeremy. (This used to be commit a28a35f9cdddb9da1b2adb9e2e6c86d78cf07ea6)
2007-10-10r25102: Rewrite msdfs code to use talloced filenames. Passes make testJeremy Allison1-0/+3
and make valgrindtest. Final step will be to change srvstr_get_path() to return talloced memory in the major codepaths. Jeremy. (This used to be commit cf6b6f9c3a38b68d2671c753f412772344506742)
2007-10-10r24802: Activate new testsVolker Lendecke1-0/+1
RAW-SAMBA3CASEINSENSITIVE and RAW-SAMBA3POSIXTIMEDLOCK (This used to be commit 1f396cc237e3861b216d03a7af9e461578cf448a)
2007-10-10r21767: Revert all the bits I accidentally committed in r21766.James Peach1-3/+1
(This used to be commit 7e862b908057b7971f8163ee94c9358a63998e87)
2007-10-10r21766: Fix compiler warning.James Peach1-1/+3
(This used to be commit f82ac78b2fa623f5868201bd54ffac9c8f318eef)
2007-10-10r21202: On some build hosts, the first tests fail with CONNECTION_REFUSED. On myVolker Lendecke1-1/+1
solaris 9 box I could solve that with an increased wait time. Volker (This used to be commit 4ea654857af48640d86377418f7a91a91c830ced)
2007-10-10r21165: Lets try the build farm without inotify, we're seeing someVolker Lendecke1-0/+1
NT_STATUS_IO_TIMEOUT with it. Samba4 disables inotify as well. Does anybody know why Samba4 does it? Maybe the same justification holds for 3 as well. Volker (This used to be commit de216a574c49f97e86a90c96627de4b5a3ea4b1c)
2007-10-10r20478: Make us survive & activate RAW-UNLINKVolker Lendecke1-0/+3
(This used to be commit 4f0f917b344743e16e8bacf4e72529a2890590fe)
2007-10-10r20150: better memory handling for some functions, make sure we don'tSimo Sorce1-2/+4
leak memory by using the wrong(long lived) mem context (This used to be commit a28cdd6e742cb72a728bd337546ee95fd4160ed8)
2007-10-10r19170: use a very clever trick to pass the binary name to theStefan Metzmacher1-2/+5
gdb_backtrace script, I never noticed that %$(envvar) exists... Thanks to Bjoern Jacke for the suggestion! metze (This used to be commit 12a37bab3eafdabeb4f0dc23254bdec41860cd87)