summaryrefslogtreecommitdiff
path: root/source3/script/tests
AgeCommit message (Collapse)AuthorFilesLines
2010-03-11Improve symlink delete test. Make sure we don't delete the link target by ↵Jeremy Allison1-7/+19
mistake. Jeremy.
2010-03-10Added regression test for bug #7234 - Symlink delete fails but incorrectly ↵Jeremy Allison2-5/+47
reports success. Ensure we can delete a symlink by path. Jeremy.
2010-03-09Fix the shell script in the root case. When run as root, make test now ↵Jeremy Allison1-4/+4
detects CAP_DAC_OVERRIDE being left on in error. Jeremy.
2010-03-09Add tests which, when run as root, will ensure we can't writeJeremy Allison3-11/+154
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-03-05s3-selftest: enable RPC-WINREG against Samba 3.Günther Deschner1-1/+1
Guenther
2010-02-24s3:test_wbinfo_s3: test --check-secret and --change-secretStefan Metzmacher1-0/+4
metze
2010-02-22A test "store create time" parameter got commited by accident. Remove it.Jeremy Allison1-1/+0
Jeremy.
2010-02-20s3: Rename LOCAL-dom_sid_parse to LOCAL-string_to_sid, add some testsVolker Lendecke1-1/+1
2010-02-18s3-selftest: fix return code for modprinter.pl -a.Günther Deschner1-1/+2
Background is: the SetPrinter level 2 calls "addprinter command" an fails if a share already existed (and the addprinter command returned a non-0 return code). Removing the non-0 return code is fine, as in AddPrinter{Ex}, we have checks to see if a share already exists before calling out the addprinter command. Maybe one day, we need to have a "changeprinter command"... Guenther
2010-02-18s3-selftest: finally enable RPC-SPOOLSS-PRINTER against Samba 3.Günther Deschner1-1/+2
Guenther
2010-02-18s3-selftest: include addprinter/deleteprinter command.Günther Deschner2-0/+131
Guenther
2010-02-01Torture test for bug 7084 - Create time on directories not stored properly ↵Jeremy Allison1-1/+1
in an EA in new create time code. Ensure new files in a directory don't reset the create time. Jeremy.
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-23s3: Add a little torture test for dom_sid_parseVolker Lendecke1-0/+1
2010-01-19s3-selftest: finally enable RPC-SPOOLSS-NOTIFY against s3.Günther Deschner1-1/+1
Guenther
2010-01-19s3-selftest: use absolute path when setting SOCKET_WRAPPER_DIR.Günther Deschner1-1/+1
Guenther
2010-01-14s3 selftest: Enable the WINBIND-STRUCT testsKai Blin1-1/+1
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-12-17s3: Run RPC-SAMBA3-GETALIASMEMBERSHIP-0 in make testVolker Lendecke1-0/+1
2009-12-10s3-selftest: enable RPC-SAMBA3-WINREG.Günther Deschner1-1/+1
Very strange we didn't run it before. Guenther
2009-12-03s3-selftest: run LOCAL-NDR when running make selftest.Günther Deschner1-1/+1
Guenther
2009-11-29s3: Add a regression test for bug 6898Volker Lendecke1-1/+1
2009-11-25Add RAW-CHKPATH test with case-sensitive share.Jeremy Allison2-0/+7
Jeremy.
2009-11-25s3 selftest: Add RAW-SFILEINFO-END-OF-FILE to selftestTim Prouty1-1/+1
2009-11-25s4 torture: Split up the torture suite setup for RAW-SFILEINFOTim Prouty1-2/+2
A side effect of this change is that RAW-SFILEINFO now runs the whole suite instead of just the first test. I changed the name of the first test to RAW-SFILEINFO-BASE and changed all of the selftest scripts that call it.
2009-11-09s3-netlogon: enable RPC-NETLOGON-ADMIN test against s3.Günther Deschner1-1/+2
Guenther
2009-11-05Remove the smbd:writetimeupdatedelay change Metze added. Metze pleaseJeremy Allison2-3/+7
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 Allison2-2/+4
Jeremy.
2009-10-20s3-selftest: enable RPC-LSA-PRIVILEGES against Samba 3.Günther Deschner1-0/+1
Guenther
2009-10-17Fix posix_unlink test. Was doing grep without quotes around theJeremy Allison1-3/+4
target string. Jeremy.
2009-10-17Trying to find out why the posix_unlink test build farm is still failing evenJeremy Allison1-1/+1
though we're now successfully deleting the symlink. Jeremy.
2009-10-16Fix one missing STAT -> LSTAT with POSIX pathnames in vfs_xattr_tdb.c. ↵Jeremy Allison1-0/+2
Caught by the torture tester. I love unit tests :-). Jeremy.
2009-10-16s3-selftest: enable WINBIND-WBCLIENT against s3.Günther Deschner1-1/+3
Guenther
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-10-06Test creating and deleting a bad symlink using the POSIX calls. EnsureJeremy Allison1-0/+42
we don't regress on bug 6769. Jeremy.
2009-08-26s3-selftest: enable running RPC-NETLOGON-S3 against samba3.Günther Deschner1-1/+1
Guenther
2009-08-18wbinfo: Fix up s3 blackbox test. wbinfo no longer needs a config file.Kai Blin1-1/+1
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-07-15s3:make test: smbtorture from s3 needs to take the config file path via the ↵Stefan Metzmacher1-0/+3
SMB_CONF_PATH envvar metze
2009-07-10Fix&Run local-gencacheVolker Lendecke1-1/+1
2009-07-10Fix our base64 implementation for blobs of length 4....Volker Lendecke1-0/+1
The additional length check bit us exactly at 4, removing it. The torture test survives valgrind up to 2000 bytes :-)
2009-07-03For non-existent streams we have to return OBJECT_NAME_NOT_FOUNDVolker Lendecke1-1/+1
See the STREAMERROR s3 torture test. Jeremy, Tim, please check!
2009-06-29s3-selftest: add RPC-SAMR-MACHINE-AUTH to list of test to run against s3.Günther Deschner1-2/+3
Guenther
2009-06-19s3: fix make test with external libtalloc or libtdb.Michael Adam1-4/+13
This skips the talloctort and tdbtorture tests when the corresponding binaries are not present. There might be more clever ways of detecting wether samba has been linked with internal or external libraries, but as a first approximation, this seems valid. Michael
2009-06-08Fix make test_pam_modulesTimur I. Bakeyev1-1/+1
In Samba3 there is a very handy Makefile target 'test_pam_modules'. It let quickly veryfy, that obtained PAM module actually is loadable and doesn't miss any dependency libs. the only problem that on FreeBSD it doesn't work OOTB, as it unconditionally adds -ldl to the list of libraries when FreeBSD doesn't have it and doesn't need it. This small patch fixes the problem for FreeBSD and, I hope, still valid for othe systems, where -ldl is required. Has to be tested there though. With regards, Timur Bakeyev. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-06-08s3-test: finally enable RPC-SAMR against samba3.Günther Deschner1-1/+1
We now pass it :-) Guenther
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-29Revert "s3-selftest: enable NETAPI-INITIALIZE and NETAPI-USER against samba3."Günther Deschner1-4/+1
This reverts commit 8da15dc29a920cd6f4d2ed96e8de4fbcd9d1ba11.