summaryrefslogtreecommitdiffstats
path: root/source3/script/tests
Commit message (Collapse)AuthorAgeFilesLines
* s3-selftest: fix return code for modprinter.pl -a.Günther Deschner2010-02-181-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
* s3-selftest: finally enable RPC-SPOOLSS-PRINTER against Samba 3.Günther Deschner2010-02-181-1/+2
| | | | Guenther
* s3-selftest: include addprinter/deleteprinter command.Günther Deschner2010-02-182-0/+131
| | | | Guenther
* Torture test for bug 7084 - Create time on directories not stored properly ↵Jeremy Allison2010-02-011-1/+1
| | | | | | | | in an EA in new create time code. Ensure new files in a directory don't reset the create time. Jeremy.
* s3-selftest: try to get RPC-SPOOLSS-NOTIFY running during make test on the ↵Günther Deschner2010-01-271-1/+3
| | | | | | buildfarm. Guenther
* s3: Add a little torture test for dom_sid_parseVolker Lendecke2010-01-231-0/+1
|
* s3-selftest: finally enable RPC-SPOOLSS-NOTIFY against s3.Günther Deschner2010-01-191-1/+1
| | | | Guenther
* s3-selftest: use absolute path when setting SOCKET_WRAPPER_DIR.Günther Deschner2010-01-191-1/+1
| | | | Guenther
* s3 selftest: Enable the WINBIND-STRUCT testsKai Blin2010-01-141-1/+1
|
* s3 test: Fix WINBINDD-STRUCT testsKai Blin2010-01-141-0/+3
| | | | | The struct-based tests are working in make selftest, make them work in plain "make test" as well.
* s3: Run RPC-SAMBA3-GETALIASMEMBERSHIP-0 in make testVolker Lendecke2009-12-171-0/+1
|
* s3-selftest: enable RPC-SAMBA3-WINREG.Günther Deschner2009-12-101-1/+1
| | | | | | Very strange we didn't run it before. Guenther
* s3-selftest: run LOCAL-NDR when running make selftest.Günther Deschner2009-12-031-1/+1
| | | | Guenther
* s3: Add a regression test for bug 6898Volker Lendecke2009-11-291-1/+1
|
* Add RAW-CHKPATH test with case-sensitive share.Jeremy Allison2009-11-252-0/+7
| | | | Jeremy.
* s3 selftest: Add RAW-SFILEINFO-END-OF-FILE to selftestTim Prouty2009-11-251-1/+1
|
* s4 torture: Split up the torture suite setup for RAW-SFILEINFOTim Prouty2009-11-251-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.
* s3-netlogon: enable RPC-NETLOGON-ADMIN test against s3.Günther Deschner2009-11-091-1/+2
| | | | Guenther
* Remove the smbd:writetimeupdatedelay change Metze added. Metze pleaseJeremy Allison2009-11-052-3/+7
| | | | | | explain why you added this. Change --maximum-runtime=900 for smbtorture4 with BASE-DELAYWRITE. Should allow it to successfully complete now. Jeremy.
* Turn on LOCK9 test which will test for regressions in bug 6828.Jeremy Allison2009-10-202-2/+4
| | | | Jeremy.
* s3-selftest: enable RPC-LSA-PRIVILEGES against Samba 3.Günther Deschner2009-10-201-0/+1
| | | | Guenther
* Fix posix_unlink test. Was doing grep without quotes around theJeremy Allison2009-10-171-3/+4
| | | | | target string. Jeremy.
* Trying to find out why the posix_unlink test build farm is still failing evenJeremy Allison2009-10-171-1/+1
| | | | | though we're now successfully deleting the symlink. Jeremy.
* Fix one missing STAT -> LSTAT with POSIX pathnames in vfs_xattr_tdb.c. ↵Jeremy Allison2009-10-161-0/+2
| | | | Caught by the torture tester. I love unit tests :-). Jeremy.
* s3-selftest: enable WINBIND-WBCLIENT against s3.Günther Deschner2009-10-161-1/+3
| | | | Guenther
* Use the method used by build_env.sh to discover the user name.Matt Kraai2009-10-111-1/+9
| | | | | so try USERNAME, then LOGNAME, then whoami, then id -un to find out who we are.
* Test creating and deleting a bad symlink using the POSIX calls. EnsureJeremy Allison2009-10-061-0/+42
| | | | | we don't regress on bug 6769. Jeremy.
* s3-selftest: enable running RPC-NETLOGON-S3 against samba3.Günther Deschner2009-08-261-1/+1
| | | | Guenther
* wbinfo: Fix up s3 blackbox test. wbinfo no longer needs a config file.Kai Blin2009-08-181-1/+1
|
* Move build over to storing DOS attributes in EA's.Jeremy Allison2009-08-121-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.
* Add "store create time" parameter (docs to follow)Jeremy Allison2009-08-121-0/+1
| | | | | that stores the create time in the user.DosTimestamps EA. Jeremy.
* s3:make test: smbtorture from s3 needs to take the config file path via the ↵Stefan Metzmacher2009-07-151-0/+3
| | | | | | SMB_CONF_PATH envvar metze
* Fix&Run local-gencacheVolker Lendecke2009-07-101-1/+1
|
* Fix our base64 implementation for blobs of length 4....Volker Lendecke2009-07-101-0/+1
| | | | | The additional length check bit us exactly at 4, removing it. The torture test survives valgrind up to 2000 bytes :-)
* For non-existent streams we have to return OBJECT_NAME_NOT_FOUNDVolker Lendecke2009-07-031-1/+1
| | | | | | See the STREAMERROR s3 torture test. Jeremy, Tim, please check!
* s3-selftest: add RPC-SAMR-MACHINE-AUTH to list of test to run against s3.Günther Deschner2009-06-291-2/+3
| | | | Guenther
* s3: fix make test with external libtalloc or libtdb.Michael Adam2009-06-191-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
* Fix make test_pam_modulesTimur I. Bakeyev2009-06-081-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>
* s3-test: finally enable RPC-SAMR against samba3.Günther Deschner2009-06-081-1/+1
| | | | | | We now pass it :-) Guenther
* s3-selftest: Fix invalid /etc/group file used with nss_wrapper.Günther Deschner2009-05-301-0/+1
| | | | | | Found by torture test. Guenther
* Revert "s3-selftest: enable NETAPI-INITIALIZE and NETAPI-USER against samba3."Günther Deschner2009-05-291-4/+1
| | | | This reverts commit 8da15dc29a920cd6f4d2ed96e8de4fbcd9d1ba11.
* s3-selftest: enable NETAPI-INITIALIZE and NETAPI-USER against samba3.Günther Deschner2009-05-291-1/+4
| | | | Guenther
* s3-selftest: enable LOCAL-NSS-WRAPPER test against samba 3.Günther Deschner2009-05-291-1/+3
| | | | Guenther
* s3-selftest: use nss_wrapper.pl as "add user to group" and "delete user from ↵Günther Deschner2009-05-281-5/+7
| | | | | | group" script. Guenther
* s3-selftest: fix typo.Günther Deschner2009-05-251-2/+2
| | | | Guenther
* s3-selftest: enable RPC-SAMR-LARGE-DC against Samba3.Günther Deschner2009-05-251-1/+1
| | | | | | | This will fail for alias creation as nss_wrapper does not yet wrap around libnss_winbind. Guenther
* s3-selftest: add add and delete group scripts using nss_wrapper.Günther Deschner2009-05-201-0/+2
| | | | Guenther
* s3-selftest: enable RPC-SAMR-USERS-PRIVILEGES.Günther Deschner2009-05-181-1/+1
| | | | Guenther
* Turn on SHORTNAME-TEST in torture.Jeremy Allison2009-05-141-1/+1
| | | | Jeremy.
* s3-printing: Fix vlp testprinter application.Günther Deschner2009-05-121-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