1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

770 Commits

Author SHA1 Message Date
Günther Deschner
698d339ffd selftest: remove make oldtest.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb  8 22:16:31 CET 2011 on sn-devel-104
2011-02-08 22:16:31 +01:00
Günther Deschner
2534e01a3a s3-build: remove --samba3-ndr-client from build_idl.sh script.
Guenther
2011-02-02 20:53:15 +01:00
Andreas Schneider
5aae1f462e s3-selftest: Enable RPC-EPMAPPER tests.
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Wed Feb  2 13:28:41 CET 2011 on sn-devel-104
2011-02-02 13:28:41 +01:00
Andreas Schneider
d0d5d59943 s3-smbd: Disable the endpoint mapper by default. 2011-02-02 12:44:20 +01:00
Jeremy Allison
ba6dda1934 Add delete-ln test now we can correctly delete hardlinks.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri Jan 28 01:24:19 CET 2011 on sn-devel-104
2011-01-28 01:24:19 +01:00
Gregor Beck
64f8306e8e s3-net: add roundtrip tests for registry import/export 2011-01-21 10:10:03 +01:00
Jeremy Allison
dbaeb52ebe Add OPLOCK4 test which explores how Windows copes with oplock and share mode breaks on hard links.
Jeremy.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sat Jan 15 00:59:46 CET 2011 on sn-devel-104
2011-01-15 00:59:46 +01:00
Jelmer Vernooij
35fbc7bbda s4-smbtorture: Make test names lowercase and dot-separated.
This is consistent with the test names used by selftest, should
make the names less confusing and easier to integrate with other tools.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104
2010-12-11 04:16:13 +01:00
Björn Jacke
eeade1596d tests: avoid bash in shebang and fix wrong "==" in test 2010-12-02 10:36:06 +01:00
Günther Deschner
800a76dec3 s3-oldtest: add WIN40 to print$ share.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Nov 29 16:20:37 CET 2010 on sn-devel-104
2010-11-29 16:20:37 +01:00
Jelmer Vernooij
ed22f13e7e s3: Rename GIT_COMMIT_{TIME,DATE} to COMMIT_{TIME,DATE}.
This avoids some special casing in the waf code.
2010-11-12 17:42:14 +00:00
Jeremy Allison
ac0ffba004 Add test that detects problems in the SMB signing code when run through cli_write() (which doesn't use the new async methods).
Unfortunately, and I think due to the socket wrapper code, this doesn't
detect the failure on the build farm, but running the RW-SIGNING test
separately against a Samba or Windows server using signing does.

Jeremy.
2010-11-10 18:07:51 -08:00
Günther Deschner
9dd467b2d5 s3-selftest: add vfs_modulesdir variable for both test systems.
Guenther
2010-10-28 14:33:19 +00:00
Günther Deschner
a578ac028f s3-waf: add slightly different mkbuildoptions awk script for waf.
This allows to run make test (w/o smbtorture4 for now) using waf.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Oct  5 18:24:55 UTC 2010 on sn-devel-104
2010-10-05 18:24:55 +00:00
Günther Deschner
505eaa9493 s3-selftest: enable smb2 torture tests against samba3.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Oct  5 14:38:07 UTC 2010 on sn-devel-104
2010-10-05 14:38:07 +00:00
Michael Adam
a2ea85b68d s3:tests: fix misplaced '...' for grep pattern in test_net_registry.sh 2010-09-22 06:30:01 +02:00
Günther Deschner
9962462278 s3-selftest: rename printer "print4" to "lp".
This should trigger a false error condition in our code.

Guenther
2010-09-10 00:26:26 +02:00
Günther Deschner
c80d4cb6fe s3-selftest: fix make oldtest (testparm_s3 tests use $LOCAL_PATH).
Guenther
2010-08-16 16:42:09 +02:00
Günther Deschner
472d2a356f s3-selftest: fix testparm tests as non-root.
Thanks to Andreas for pointing this out.

Guenther
2010-08-13 18:30:37 +02:00
Günther Deschner
bfdd85d4a5 s3-selftest: enable RPC-BIND against s3.
Guenther
2010-07-14 01:34:48 +02:00
Günther Deschner
cb52b1ad99 s3-idl: support --full for s3 build_idl.sh as well.
Guenther
2010-07-05 15:41:33 +02:00
Günther Deschner
160d882f34 s3-selftest: fix locktest9 in make selftest.
Guenther
2010-06-17 15:08:27 +02:00
Günther Deschner
09daf63c93 s3-selftest: do not call main RPC-SPOOLSS testsuite.
The tests formerly available in there can now be accessed via
RPC-SPOOLSS-PRINTSERVER.

Guenther
2010-06-04 14:31:08 +02:00
Günther Deschner
3854f0708e s3-selftest: Fix blackbox smbclient s3 tests during make selftest.
Guenther
2010-06-02 15:37:50 +02:00
Gregor Beck
304271bd8f s3: registry: add tests with empty valuename
Signed-off-by: Michael Adam <obnox@samba.org>
2010-05-21 00:22:45 +02:00
Gregor Beck
12ce164384 s3: registry: let test_setvalue use getvalueraw instead of enumerate
simplifies code, prerequisite to handle empty valuenames

Signed-off-by: Michael Adam <obnox@samba.org>
2010-05-21 00:22:45 +02:00
Günther Deschner
3ce8bcdd83 s3-selftest: enable RAP-SAM against Samba 3.
Guenther
2010-05-12 00:20:49 +02:00
Björn Jacke
e8c3da1fc0 idl: get the logic of the prevous commit right 2010-05-07 13:45:00 +02:00
Björn Jacke
10e0641e34 idl: fix Unix builds by replacing bashism
test -nt is not portable - tridge, please check!
2010-05-07 13:38:00 +02:00
Andrew Tridgell
f4000eecf4 s3-idl: update the 2nd build_idl.sh script 2010-05-04 13:47:08 +02:00
Günther Deschner
8878be3c45 s3-selftest: enable RAP-PRINTING against s3.
Guenther
2010-04-28 23:23:38 +02:00
Günther Deschner
30b1e44382 s3-selftest: enable RPC-SPOOLSS-DRIVER against s3.
Guenther
2010-04-23 13:52:57 +02:00
Günther Deschner
14bb3f71aa s3-selftest: add print$ share with two arch dirs.
(make test variant)

Guenther
2010-04-23 13:51:33 +02:00
Volker Lendecke
e0d7a84242 s3: Test for wb ccache access by smbclient 2010-04-19 14:27:24 +02:00
Volker Lendecke
460e2d5dad s3: Change the make test password to "testPw"
This way we can change back to it when testing testing wbcChangeUserPassword,
"test" is too short (<5 chars)
2010-04-19 14:27:20 +02:00
Jeremy Allison
a1e0e1cbcf Add basic DFS tests.
Jeremy.
2010-04-13 18:42:24 -07:00
Günther Deschner
203a661e01 s3-selftest: set "lpq cache time = 0" in server configuration.
This fixes currently broken spoolss tests.
(make test variant).

Guenther
2010-03-26 23:01:19 +01:00
Günther Deschner
9a5d50b724 s3-selftest: enable RAP-RPC test against s3.
Guenther
2010-03-25 14:43:45 +01:00
Günther Deschner
34674e0a61 s3-selftest: move printing config to global section.
"make test" variant.

Guenther
2010-03-25 00:55:32 +01:00
Günther Deschner
5d5c6e1320 s3-selftest: use proper names for samba3 dcerpc tests.
Guenther
2010-03-19 20:23:33 +01:00
Günther Deschner
4d6368f5f5 s3-selftest: enable RAP calls testsuite against samba3.
Guenther
2010-03-19 10:56:11 +01:00
Günther Deschner
53d35fc958 s3-selftest: rearrange uid/gid calculation to achieve correct membership.
(make test variant)

Guenther
2010-03-19 10:33:54 +01:00
Günther Deschner
38a46fa32b s3-selftest: make sure we do not have duplicate uids/gids in nsswrapper.
Guenther
2010-03-18 15:08:26 +01:00
Günther Deschner
3bc18d9f67 s3-selftest: run RPC-EVENTLOG against s3.
Guenther
2010-03-17 22:59:35 +01:00
Günther Deschner
bb91bbb413 s3-test: setup initial eventlog infrastructure.
Guenther
2010-03-17 22:59:27 +01:00
Jeremy Allison
1a10a5949d Improve symlink delete test. Make sure we don't delete the link target by mistake.
Jeremy.
2010-03-11 14:41:01 -08:00
Jeremy Allison
20d85d5d54 Added regression test for bug #7234 - Symlink delete fails but incorrectly reports success.
Ensure we can delete a symlink by path.

Jeremy.
2010-03-10 14:40:20 -08:00
Jeremy Allison
41be39013b Fix the shell script in the root case. When run as root, make test now detects CAP_DAC_OVERRIDE being left on in error.
Jeremy.
2010-03-09 20:06:19 -08:00
Jeremy Allison
3855c948c0 Add tests which, when run as root, will ensure we can't write
into a read-only directory, or read a owner-read-only file.

Jeremy.
2010-03-09 16:36:48 -08:00
Jeremy Allison
9adbba6fb9 Allow "make test" to complete as root. Obviously only safe on tightly
controlled developer machines.
Jeremy.
2010-03-09 13:14:18 -08:00
Günther Deschner
6c52a37ac1 s3-selftest: enable RPC-WINREG against Samba 3.
Guenther
2010-03-05 11:09:05 +01:00
Stefan Metzmacher
9f2f738a3c s3:test_wbinfo_s3: test --check-secret and --change-secret
metze
2010-02-24 11:56:10 +01:00
Jeremy Allison
2a5060fcef A test "store create time" parameter got commited by accident. Remove it.
Jeremy.
2010-02-22 15:34:15 -08:00
Volker Lendecke
e38908ea65 s3: Rename LOCAL-dom_sid_parse to LOCAL-string_to_sid, add some tests 2010-02-20 21:35:03 +01:00
Günther Deschner
b6f58e25b5 s3-selftest: fix return code for modprinter.pl -a.
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-18 11:23:59 +01:00
Günther Deschner
867daf6e0a s3-selftest: finally enable RPC-SPOOLSS-PRINTER against Samba 3.
Guenther
2010-02-18 02:27:08 +01:00
Günther Deschner
34ad5da5cd s3-selftest: include addprinter/deleteprinter command.
Guenther
2010-02-18 02:27:04 +01:00
Jeremy Allison
a35be8c0c2 Torture test for bug 7084 - Create time on directories not stored properly in an EA in new create time code.
Ensure new files in a directory don't reset the create time.

Jeremy.
2010-02-01 18:49:50 -08:00
Günther Deschner
1ead83947f s3-selftest: try to get RPC-SPOOLSS-NOTIFY running during make test on the buildfarm.
Guenther
2010-01-27 13:40:16 +01:00
Volker Lendecke
397a6faed9 s3: Add a little torture test for dom_sid_parse 2010-01-23 16:28:11 +01:00
Günther Deschner
b5186b3e23 s3-selftest: finally enable RPC-SPOOLSS-NOTIFY against s3.
Guenther
2010-01-19 14:14:30 +01:00
Günther Deschner
c971c10a63 s3-selftest: use absolute path when setting SOCKET_WRAPPER_DIR.
Guenther
2010-01-19 14:14:30 +01:00
Kai Blin
743adfda91 s3 selftest: Enable the WINBIND-STRUCT tests 2010-01-14 15:18:35 +01:00
Kai Blin
cf38a1f850 s3 test: Fix WINBINDD-STRUCT tests
The struct-based tests are working in make selftest, make them work in plain
"make test" as well.
2010-01-14 15:18:35 +01:00
Volker Lendecke
eb7ff9220d s3: Run RPC-SAMBA3-GETALIASMEMBERSHIP-0 in make test 2009-12-17 12:48:27 +01:00
Günther Deschner
31202a9dab s3-selftest: enable RPC-SAMBA3-WINREG.
Very strange we didn't run it before.

Guenther
2009-12-10 22:49:16 +01:00
Günther Deschner
9a3d9abdd8 s3-selftest: run LOCAL-NDR when running make selftest.
Guenther
2009-12-03 01:04:02 +01:00
Volker Lendecke
7bbee8dc17 s3: Add a regression test for bug 6898 2009-11-29 16:12:51 +01:00
Jeremy Allison
108da2adaf Add RAW-CHKPATH test with case-sensitive share.
Jeremy.
2009-11-25 13:17:38 -08:00
Tim Prouty
17caf63640 s3 selftest: Add RAW-SFILEINFO-END-OF-FILE to selftest 2009-11-25 08:45:58 -08:00
Tim Prouty
ce9ac3a685 s4 torture: Split up the torture suite setup for RAW-SFILEINFO
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-25 08:45:14 -08:00
Günther Deschner
d7ce873391 s3-netlogon: enable RPC-NETLOGON-ADMIN test against s3.
Guenther
2009-11-09 17:36:53 +01:00
Jeremy Allison
e434934526 Remove the smbd:writetimeupdatedelay change Metze added. Metze please
explain why you added this. Change --maximum-runtime=900 for smbtorture4
with BASE-DELAYWRITE. Should allow it to successfully complete now.
Jeremy.
2009-11-05 17:43:33 -08:00
Jeremy Allison
9356265802 Turn on LOCK9 test which will test for regressions in bug 6828.
Jeremy.
2009-10-20 17:53:06 -07:00
Günther Deschner
870f2d336a s3-selftest: enable RPC-LSA-PRIVILEGES against Samba 3.
Guenther
2009-10-20 15:57:00 +02:00
Jeremy Allison
8d85757578 Fix posix_unlink test. Was doing grep without quotes around the
target string.
Jeremy.
2009-10-17 20:46:22 -07:00
Jeremy Allison
096589aead Trying to find out why the posix_unlink test build farm is still failing even
though we're now successfully deleting the symlink.
Jeremy.
2009-10-17 10:38:44 -07:00
Jeremy Allison
010dfbf1fd Fix one missing STAT -> LSTAT with POSIX pathnames in vfs_xattr_tdb.c. Caught by the torture tester. I love unit tests :-). Jeremy. 2009-10-16 16:38:59 -07:00
Günther Deschner
3f80b06d9e s3-selftest: enable WINBIND-WBCLIENT against s3.
Guenther
2009-10-16 02:04:37 +02:00
Matt Kraai
815b790c96 Use the method used by build_env.sh to discover the user name.
so try USERNAME, then LOGNAME, then whoami, then id -un to find out who we
are.
2009-10-11 12:44:42 +02:00
Jeremy Allison
7709db4c03 Test creating and deleting a bad symlink using the POSIX calls. Ensure
we don't regress on bug 6769.
Jeremy.
2009-10-06 17:18:15 -07:00
Michael Adam
9741cb7638 talloc:mksyms: allow characters after closing functions parenthesis.
Michael
2009-09-11 15:39:53 +02:00
Michael Adam
ee1fe382d6 talloc:mksyms: allow double pointer return value of functions.
Michael
2009-09-11 15:39:52 +02:00
Michael Adam
50347d6ac0 s3:mksyms: fix spelling...
Michael
2009-09-11 15:39:52 +02:00
Günther Deschner
32f9d20dff s3-selftest: enable running RPC-NETLOGON-S3 against samba3.
Guenther
2009-08-26 23:04:22 +02:00
Kai Blin
8d0345e5a0 wbinfo: Fix up s3 blackbox test. wbinfo no longer needs a config file. 2009-08-18 22:10:04 +02:00
Jeremy Allison
28f7b07436 Move build over to storing DOS attributes in EA's.
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-12 17:07:13 -07:00
Jeremy Allison
d6270df748 Add "store create time" parameter (docs to follow)
that stores the create time in the user.DosTimestamps EA.
Jeremy.
2009-08-12 13:00:54 -07:00
Stefan Metzmacher
b4abb190a9 s3:make test: smbtorture from s3 needs to take the config file path via the SMB_CONF_PATH envvar
metze
2009-07-15 11:55:27 +02:00
Volker Lendecke
3969f65aaa Fix&Run local-gencache 2009-07-10 18:16:46 +02:00
Volker Lendecke
0a0bff353e Fix our base64 implementation for blobs of length 4....
The additional length check bit us exactly at 4, removing it. The
torture test survives valgrind up to 2000 bytes :-)
2009-07-10 18:16:46 +02:00
Volker Lendecke
7e560bd802 For non-existent streams we have to return OBJECT_NAME_NOT_FOUND
See the STREAMERROR s3 torture test.

Jeremy, Tim, please check!
2009-07-03 23:20:57 +02:00
Günther Deschner
bd997b2574 s3-selftest: add RPC-SAMR-MACHINE-AUTH to list of test to run against s3.
Guenther
2009-06-29 14:40:17 +02:00
Michael Adam
8925778a61 s3: fix make test with external libtalloc or libtdb.
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-19 21:13:38 +02:00
Timur I. Bakeyev
ef9773c8e7 Fix make test_pam_modules
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-08 13:20:54 +02:00
Günther Deschner
029e8e6314 s3-test: finally enable RPC-SAMR against samba3.
We now pass it :-)

Guenther
2009-06-08 13:06:53 +02:00
Jelmer Vernooij
e285bb2da5 Move findstatic.pl script to top-level. 2009-06-03 15:06:15 +02:00
Günther Deschner
df167ee771 s3-selftest: Fix invalid /etc/group file used with nss_wrapper.
Found by torture test.

Guenther
2009-05-30 09:43:28 +02:00
Günther Deschner
90db997d37 Revert "s3-selftest: enable NETAPI-INITIALIZE and NETAPI-USER against samba3."
This reverts commit 8da15dc29a.
2009-05-29 18:11:39 +02:00
Günther Deschner
8da15dc29a s3-selftest: enable NETAPI-INITIALIZE and NETAPI-USER against samba3.
Guenther
2009-05-29 18:10:04 +02:00
Günther Deschner
7b8d30d1bb s3-selftest: enable LOCAL-NSS-WRAPPER test against samba 3.
Guenther
2009-05-29 13:50:15 +02:00
Günther Deschner
7a5475f098 s3-selftest: use nss_wrapper.pl as "add user to group" and "delete user from group" script.
Guenther
2009-05-28 10:40:22 +02:00
Günther Deschner
4258750e4f s3-selftest: fix typo.
Guenther
2009-05-25 15:56:47 +02:00
Günther Deschner
f0139e3b69 s3-selftest: enable RPC-SAMR-LARGE-DC against Samba3.
This will fail for alias creation as nss_wrapper does not yet wrap around
libnss_winbind.

Guenther
2009-05-25 14:03:16 +02:00
Günther Deschner
e11f9b46c6 s3-selftest: add add and delete group scripts using nss_wrapper.
Guenther
2009-05-20 12:37:44 +02:00
Günther Deschner
9e741b34b2 s3-selftest: enable RPC-SAMR-USERS-PRIVILEGES.
Guenther
2009-05-18 23:36:57 +02:00
Jeremy Allison
4dce2dfb5b Turn on SHORTNAME-TEST in torture.
Jeremy.
2009-05-14 16:49:34 -07:00
Günther Deschner
94665adb48 s3-printing: Fix vlp testprinter application.
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-12 11:41:14 +02:00
Günther Deschner
f5cab8913b s3-selftest: enable RPC-LSA-LOOKUPNAMES against Samba 3.
Guenther
2009-05-11 16:44:39 +02:00
Günther Deschner
d010094700 s3-selftest: enable running RPC-SAMR-USERS against Samba3.
Guenther
2009-05-08 22:23:51 +02:00
Günther Deschner
66cf7e1835 s3-selftest: run RPC-LSA-GETUSER against Samba 3.
Guenther
2009-05-08 11:28:45 +02:00
Günther Deschner
53713be2cb s3-selftest: finally enable RPC-SAMR-PASSWORDS which samba3 now passes.
Guenther
2009-05-08 00:47:16 +02:00
Günther Deschner
6f4b5798c9 s3-selftest: need to enable lanman auth in order make RPC-SAMR-PASSWORDS pass.
Guenther
2009-05-08 00:46:54 +02:00
Günther Deschner
949cd77ca2 s3-selftest: run RPC-SCHANNEL, RPC-SCHANNEL2 and RPC-BENCH-SCHANNEL1 against Samba3.
Guenther
2009-05-07 13:06:03 +02:00
Jeremy Allison
2c4725462e Turn on POSIX test (small test) on buildfarm.
Jeremy.
2009-05-04 15:55:23 -07:00
Jeremy Allison
651fb412a8 Ensure we use UID-REGRESSION-TEST. It's a very short test.
Jeremy.
2009-05-04 11:22:13 -07:00
Volker Lendecke
5b7b47f015 Add getaddrinfo_send/recv 2009-05-01 12:30:59 +02:00
Günther Deschner
3316ae9d75 s3-test: make it possible to find the built vlp in "make test".
Guenther
2009-04-29 14:31:09 +02:00
Günther Deschner
59fe99027d s3-selftest: test wbinfo --allocate-uid/gid.
Guenther
2009-04-23 10:30:32 +02:00
John H Terpstra
f493755aaf Added ability to revert to old modules for make revert. 2009-04-20 10:13:10 -05:00
Günther Deschner
6f90cdaf63 s3-selftest: enable RPC-SPOOLSS.
Guenther
2009-04-17 17:28:23 +02:00
Michael Adam
d43a49d449 s3: make installmo and uninstallmo scripts executable
Michael
2009-04-17 15:57:30 +02:00
Michael Adam
bf1b7ba480 s3: Fix uninstallmo
Michael
2009-04-17 15:57:30 +02:00
Günther Deschner
4f9d3400e5 s3-selftest: samba 3 also passes RPC-JOIN so enable it.
Guenther
2009-04-17 15:14:44 +02:00
Günther Deschner
490f6c418d s3-selftest: enable RPC-SAMR-PASSWORDS-PWDLASTSET whilte testing Samba3.
Guenther
2009-04-17 11:16:00 +02:00
Günther Deschner
deb719a62e s3-selftest: enable RPC-LSA-LOOKUPSIDS against samba 3.
Guenther
2009-04-17 01:32:45 +02:00
Günther Deschner
1b9384a11f s3-nsswitch: fix make test_wbpad.
Guenther
2009-04-14 14:56:59 +02:00
Günther Deschner
f930f504e1 s3-selftest: enable the RPC-NTSVCS torture test against Samba3.
Guenther
2009-04-10 01:07:01 +02:00
Günther Deschner
c1b354531f s3-selftest: As Samba3 now passes RPC-SPOOLSS-WIN enable it against ourself.
Guenther
2009-04-08 13:52:11 +02:00
Günther Deschner
fa7f2ffe51 s3-selftest: add root for make test as well (not only make selftest).
Guenther
2009-04-08 13:11:16 +02:00
Günther Deschner
403422e1ea s3-selftest: Samba3 passes RPC-SVCCTL so enable it during make test.
Guenther
2009-04-08 11:49:24 +02:00
Volker Lendecke
86b09e84ae Re-add the CHAIN1 test 2009-04-06 21:32:07 +02:00
Volker Lendecke
0a4cdad324 Remove the CHAIN1 test -- will come back later 2009-04-06 21:32:06 +02:00
Volker Lendecke
15f6d5e805 Use the server config file for smbpasswd -a user in make test
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-04-05 17:31:40 +02:00
Jeremy Allison
e235b4628b Revert 757d403dff - module
order shouldn't matter & I have a more correct fix for this.
Jeremy.
2009-03-26 14:48:34 -07:00
Jeremy Allison
757d403dff This should fix the build farm RAW-STREAMS failure. streams_depot.so
depends on xattrs, and xattr_tdb was pushed *first* in the stack...
Jeremy.
2009-03-26 14:34:25 -07:00
Michael Adam
d813a90d18 version: fix handling of SAMBA_VERSION_VENDOR_PATCH.
We need a string version of this, or else version.c does not compile.

Michael
2009-03-19 23:57:34 +01:00
Björn Jacke
da06a345cc to be portable, use options first, arguments last
Signed-off-by: Michael Adam <obnox@samba.org>
2009-03-17 16:09:15 +01:00
Jelmer Vernooij
3b181564c5 Merge branch 'master' of ssh://git.samba.org/data/git/samba 2009-03-09 21:42:13 +01:00
Björn Jacke
0d2de5380d use LIB_PATH_VAR in selftest.sh if we have it
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-03-09 18:31:11 +01:00
Stefan Metzmacher
bf85a14182 s3:make_test: run CHAIN1 test
metze
2009-03-06 16:38:30 +01:00
Stefan Metzmacher
484c4a5955 Revert "s3:selftest: create BUILTIN\\Administrators at startup"
This reverts commit a849183f94.

This is to racy for most of the build-farm machines,
because winbindd doesn't start fast enough.

metze
2009-02-03 17:07:44 +01:00
Stefan Metzmacher
aa9592991a Revert "s3:test: try to find why creating BUILTIN\Administrators doesn't work in the build-farm"
This reverts commit 20a1cb1569.

I will also revert a849183f94

metze
2009-02-03 17:07:43 +01:00
Stefan Metzmacher
20a1cb1569 s3:test: try to find why creating BUILTIN\Administrators doesn't work in the build-farm
metze
2009-02-03 15:05:54 +01:00
Stefan Metzmacher
c0fdc71ecd s3:tests: add a guard arround . $incdir/test_functions.sh
So that caller can overwrite the functions.

metze
2009-01-30 19:48:00 +01:00
Stefan Metzmacher
77bb2d6d0b s3:seltest: make test_smbclient_s3.sh more strict
metze
2009-01-29 10:36:12 +01:00
Stefan Metzmacher
6a41a2de8d selftest: abstract Samba3 provision a bit
metze
2009-01-28 21:01:49 +01:00
Stefan Metzmacher
a849183f94 s3:selftest: create BUILTIN\\Administrators at startup
And add and remove the alias member via net rpc group
instead of net sam.

metze
2009-01-28 17:32:50 +01:00
Michael Adam
5ec52659da s3:test: exit the net rpc registry tests when give_administrative_rights fails
Michael
2009-01-28 12:19:06 +01:00
Stefan Metzmacher
5da211b658 s3:selftest: fix warnings with empty *_TEST_LOG variables
metze
2009-01-28 12:06:23 +01:00