1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-31 01:48:16 +03:00

463 Commits

Author SHA1 Message Date
Michael Adam
413c2e9b0a registry: remove the REGISTRY_HOOKS layer from the reghook cache.
There is no need to save the keyname again, we only need to
get the REGISTRY_OPS out of the pathtree.

Furthermore, this makes life easier, since we can now pass
in keynames as temporarily allocated strings.

Michael
(This used to be commit 2f9ee2f782c77ed99669af5ac2ba40cb0978f0da)
2008-04-13 01:43:42 +02:00
Michael Adam
c575c85d58 test: not only pretend to call smbconftort - really do it :-}
Michael
(This used to be commit e0947537e61cdc7aaaf1256a7f9a590f006cb3d9)
2008-04-11 10:57:50 +02:00
Björn Jacke
83a6605b3a some shells are pickier than others ...
(This used to be commit 9aabfa44d95128ded567d0949a6dd42786cbf6fb)
2008-04-11 10:51:19 +02:00
Michael Adam
6dd73c2866 test: run smbconftort testsuite from the local_s3 tests
Michael
(This used to be commit 6641061f76d2175b9476a96d24b99a52163936ca)
2008-04-10 01:29:01 +02:00
Stefan Metzmacher
c5cf066c8b selftest: run the BASE-DELAYWRITE test 4 times faster in make test
metze
(This used to be commit 83b6da7c52a6f5285a9765d22d13a53fe9dc80e5)
2008-04-08 18:53:38 +02:00
Stefan Metzmacher
406da3a962 selftest: samba3 passes BASE-DELAYWRITE
metze
(This used to be commit 5df34634317633820993c9ef924d694a8fe1c4fe)
2008-04-07 12:29:28 +02:00
Michael Adam
8d7257453c test: add diagnostic message to net_registry test.
Michael
(This used to be commit c04a234f8f6fbdf8e54c69414024d84aa71fec45)
2008-04-01 16:16:55 +02:00
Michael Adam
048dcbb75f test: fix net_registry test "set value to different type" to track error count
missing backslash in call... :-}

Michael
(This used to be commit 8f0c25f01f11857d24556346dc2758549919eba3)
2008-04-01 16:16:55 +02:00
Michael Adam
fd64e6de8c test: some cosmetics to net_registry tests.
Michael
(This used to be commit dba9db5ae6581df18591eebd19d3649bed0d9367)
2008-04-01 16:16:55 +02:00
Michael Adam
4a99bce736 test: fix net_registry tests to correctly capture output of commands inside one test
so that failure output is not clobbered by  output of previous
successful commands.

Michael
(This used to be commit cb3dafe5fd8867b000e01979d4232968d994d376)
2008-04-01 16:16:55 +02:00
Michael Adam
a63c396679 test: fix use of printf in net_registry tests.
actually 'printf "%s\n"' is the proper replacement of 'echo -e'

Michael
(This used to be commit 388a40931f1559b134317ef0c85c7cf2598e17fe)
2008-04-01 16:16:55 +02:00
Michael Adam
36ade6136d mkversion: be more portable, use 'print "%s"' instead of 'echo -n'
Michael
(This used to be commit 7a23dab1eaf3116079a89cdf348cabc659608031)
2008-04-01 16:16:55 +02:00
Michael Adam
808378cda2 installswat: be more portable, use 'printf "%s"' instead of 'echo -n'
Michael
(This used to be commit 8b015c91c9b10c208fe61cefd71ddc9f4fcbec61)
2008-04-01 16:16:55 +02:00
Michael Adam
52b463917e test: be more portable. replace 'echo -n' by 'printf "%s"' in test_functions.sh
Michael
(This used to be commit c0c41184277044eb856f91c025f645c198cac188)
2008-04-01 16:16:55 +02:00
Michael Adam
e61e4eb4e5 test: be more portable: replace 'echo -n' by 'printf "%s"' in selftest.sh
Michael
(This used to be commit b6122406fe938fdaf373ff45214db79de06eb989)
2008-04-01 16:16:54 +02:00
Michael Adam
41281d3525 test: make registry tests more portable: protect some grep patterns in ' '.
Michael
(This used to be commit 1cb3b2f065566f981f6cfb8b5efdfad7db49c719)
2008-04-01 13:43:30 +02:00
Michael Adam
ff08b55b45 test: make registry tests more portable: use 'printf "%s"' instead of 'echo -e'
Michael
(This used to be commit 5c1b7ee5c17489da90192309853aa1ecacc15512)
2008-04-01 13:43:30 +02:00
Michael Adam
96801c3f63 test: add test script for testing "net registry".
Michael
(This used to be commit fa5968a26b552d7f13574a826e506ed2d6630feb)
2008-04-01 00:09:59 +02:00
Michael Adam
0ad8a002ce test: add (and unify) sectioning output of subtests in tests_all.sh
Michael
(This used to be commit d775194e9c7b75182c485fba427b20ec2bfcf16c)
2008-03-31 17:22:03 +02:00
Michael Adam
0c3b8e2cab test: add possibility to select tests to run via tests_all.sh (make test)
This allows to select the tests to run with tests_all.sh by setting
the environment variable "RUNTESTS". Example:

RUNTESTS="smbclient_s3_encrypted wbinfo_s3" make test

Michael
(This used to be commit bf4af79f050cceb6611a8aa3d893b59b816a41ce)
2008-03-31 17:22:03 +02:00
Michael Adam
e3aef196e4 test: in tests_all.sh, wrap calls to test scripts into shell functions.
This is in preparation for enabling running only selected test scripts
through "make test".

Michael
(This used to be commit ad1fbadf81c915425301ec495744c11f3103169f)
2008-03-31 17:22:02 +02:00
Gerald (Jerry) Carter
eeeb4aa931 Fix libtdb some to move back towards allowing out of tree builds
Remaining problem is that not all *.syms linker scripts are generated
so the LD command needs to look in a single place.  Out of tree
builds now work but report write access to the source tree in order
to create the $(srcdir)/expotrs/libtdb.sysms file.
(This used to be commit 6e9287c5c3a6bbd15ec495593978c1a76e64ee60)
2008-03-24 17:25:13 -05:00
Stefan Metzmacher
5d3a31fbe1 selftest: samba3 passes RAW-SEARCH now
As the resume key tests are skipped against samba3.

metze
(This used to be commit c765090871ed68a9ba650bca44f5f3b88997ea14)
2008-03-11 22:08:24 +01:00
Michael Adam
aa4213bde7 Test: Properly track current test binary for tracking crashes.
Make sure the panic action always has the right test binary set.

Michael
(This used to be commit 567ac329dcec6fc839d6b25cbf1872f1f51ff7e5)
2008-03-06 09:25:49 +01:00
Michael Adam
af3e746d9e Revert "make idl: Only compile idl files newer than the output to be generated."
This reverts commit 79c199d16e565eabd9fd971247f8df62689bb92a.

Revert this until pidl is capable of doing decent dependency tracking
itself (importing types from imported idls).

Michael
(This used to be commit 1fb69ad1f5c79dd77f73a5fee266e1e363e6974d)
2008-02-29 13:17:28 +01:00
Karolin Seeger
e1b32594c7 Remove smbmount.
Karolin
(This used to be commit 5fbd98f7065268ae134108310119078ad8f62322)
2008-02-28 15:53:43 +01:00
Michael Adam
379fa9baae make idl: Only compile idl files newer than the output to be generated.
Fix "if" condition in build_idl.sh to not always evaluate as false.

Michael
(This used to be commit 79c199d16e565eabd9fd971247f8df62689bb92a)
2008-02-26 16:06:07 +01:00
Michael Adam
32dd341119 Fix build on some systems : don't pass libraries to mkproto.awk
Currently, some static libraries have gone into object lists
that are also passed to make proto. (This should probably be
changed...) Then some awk versions fail when passed an non-
existing lib/libtdb.a e.g.. This patch changes mkproto.sh to
exclude \.a files from the list of files to process.

Michael
(This used to be commit 826b9ab07b58ca39350cca921002a4213ce7c7c9)
2008-02-25 17:24:52 +01:00
Stefan Metzmacher
1f635e3888 make test: pass --option=torture:sharedelay=100000 to samba4 smbtorture
BASE-DEFER_OPEN is now more strict with incorrect timing

metze
(This used to be commit 9b761062df80c45bf2b76af071131d0c78e94a09)
2008-02-25 11:34:44 +01:00
Michael Adam
b09b3ac8f8 Create symbols to export in libtdb dynamically from tdb.h.
This adds a general mechanism to create version-scripts for
linking shared libraries from one or several header files,
similar to mkproto.sh/awk.

Michael
(This used to be commit 65817703c49a7410f4f0c8b46494ede6169d9fa6)
2008-02-14 14:17:57 +01:00
Kai Blin
afaacdeb8d ntlm_auth: Fix another typo in the test.
This _should_ be the last one.
(This used to be commit d12c49e60f4390707c924b9e9f12fa9333b006e2)
2008-01-30 18:34:24 +01:00
Kai Blin
5b5d56d84a ntlm_auth: test should honour configfile option to run on build farm.
(This used to be commit 11c9c1536b153047ba387b9804f34a6555a5ae26)
2008-01-30 17:57:32 +01:00
Kai Blin
582e224af5 ntlm_auth: Fix typos in the torture test script.
This should fix the build farm. Sorry, wonder why it worked on my box
before.
(This used to be commit bfa919cde57a26cd2ae7397281923792b7afe83a)
2008-01-30 16:59:40 +01:00
Kai Blin
a626fa59cc ntlm_auth: Add a blackbox test.
(This used to be commit f02b74fc067074d8e48e186a7b7255a244592f7d)
2008-01-30 15:26:27 +01:00
Volker Lendecke
152c720ddb Active RAW-STREAMS in make test
(This used to be commit 63ee2ef775b48fcaecccf4dc7ef3601ceb8053c5)
2008-01-20 15:29:58 +01:00
Volker Lendecke
c2acec43ae rename vfs_ea_tdb to vfs_xattr_tdb
(This used to be commit 151b42a150a17f566e7b4055bbdbc0564a3c106d)
2008-01-15 17:30:29 +01:00
Volker Lendecke
57cc992e0f Implement vfs_ea_tdb
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)
2008-01-15 11:01:18 +01:00
Günther Deschner
8a6f492e57 Add True/False bool cleanup script.
Guenther
(This used to be commit 9f05d2eae7c55d39ad61da54c4a38d6b6f8d4d3a)
2008-01-15 10:35:10 +01:00
Michael Adam
8a76e6aff0 Reset the failed counter in test_wbinfo_s3.sh.
Michael
(This used to be commit 3eedb8928413da102446b76aa64d1feaecb95b52)
2008-01-14 00:23:11 +01:00
Michael Adam
971abee490 Fix a syntax error in script/tests/test_local_s3.sh .
This will reveal the currently breaking tdbtorture to the build farm...

Michael
(This used to be commit 50f65c3c5500da8d657d5fc340e666ee8cfe148e)
2008-01-13 23:54:48 +01:00
Jelmer Vernooij
8dbeca6e9d Review feedback from metze.
(This used to be commit 015cf6b6adfa87ff7c5bb1cec9f98237bad075e1)
2008-01-06 15:12:24 +01:00
Jelmer Vernooij
1f46aac357 Use metze's approach.
(This used to be commit 126cc075995ffaeb65317627acae05c1b96cebd0)
2008-01-06 01:12:56 +01:00
Jeremy Allison
e86fd65dcd "Desting" -> "Testing"
Jeremy.
(This used to be commit c3f3ec5cd5f9ffe8d08356dfd22b1cb6943829ad)
2008-01-04 19:34:43 -08:00
Jeremy Allison
4a95b17fd8 Try and fix scripting errors.
Jeremy
(This used to be commit c84f2234fe0068a69fefa3c3ec219d4a95479b0c)
2008-01-04 19:12:29 -08:00
Jeremy Allison
ceba96c915 Try and fix the buildfarm. There's a scripting error and
I'm hoping this is it...
Jeremy.
(This used to be commit 0356f0efc4a18230ce7a9c0a17dc98c4242ad38d)
2008-01-04 19:09:46 -08:00
Jeremy Allison
c513ff3675 Better way of testing enc.
Jeremy.
(This used to be commit c5800235018330f0c1bbe307cd733597ac9b6686)
2008-01-04 16:58:23 -08:00
Jeremy Allison
95fa10d596 Added -e tests for S3 smbtorture.
Jeremy.
(This used to be commit deeeae3ee96f7207a49e1edaa876410b77c33458)
2008-01-04 16:09:48 -08:00
Volker Lendecke
519277fcb7 Attempt to fix the AIX make test failures
For some reason AIX does not return the sender address in the AF_UNIX recvfrom.
So the faked netbios name lookup does not work with socket wrapper, nmbd can't
know where to send the reply. This patch works around this by telling smbclient
explicitly where to connect.

If there's any AIX experts listening -- how do I get the sender address from
AF_UNIX recvfrom?

Volker
(This used to be commit 8ba3b8cf7aca657ad8426981d810c36ee6a34a2f)
2007-12-29 13:17:01 +01:00
Stefan Metzmacher
4e53afccb1 selftest: also export LD_LIBRARY_PATH for samba4's smbtorture
metze
(This used to be commit f5570dcf503a4b28ebf624d06fd090f3b6b0a560)
2007-12-23 20:09:16 +01:00
Volker Lendecke
4c364e3078 Attempt to make the build farm run s4torture again
(This used to be commit 04710626e174d7237521f33a351b4425add063b8)
2007-12-23 16:38:28 +01:00