1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-02 09:47:23 +03:00

16162 Commits

Author SHA1 Message Date
Andrew Bartlett
7b9a647ebb Skip strcmp() on 2 NULL pointers.
Andrew Bartlett
2008-04-17 11:22:23 +02:00
Andrew Bartlett
85c9b21a45 Use the struct based winbind tests, but mark as known fail.
Andrew Bartlett
2008-04-17 10:40:16 +02:00
Andrew Tridgell
2090e75e0c make smb2 read and write size configurable 2008-04-17 09:37:29 +02:00
Andrew Tridgell
a626a9c69c Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Conflicts:

	source/ntvfs/ntvfs_generic.c
2008-04-17 09:36:09 +02:00
Stefan Metzmacher
9013748273 ntvfs_generic: map SMB2 oplock levels to the generic ones
metze
2008-04-17 03:54:26 +02:00
Stefan Metzmacher
ae0a7d0918 SMB2-PERSISTENT-HANDLES1: verify some more fields
metze
2008-04-17 03:52:45 +02:00
Stefan Metzmacher
30e04ae3a0 torture/smb2: add SMB2-PERSISTENT-HANDLES1 test
This demonstrates that the file seek position
is still available on reconnected persistent handles.

metze
2008-04-17 02:39:32 +02:00
Stefan Metzmacher
02bfe20fd3 selftest: ignore failures in the SMB2-PERSISTENT-HANDLES1 test
metze
2008-04-17 02:39:31 +02:00
Stefan Metzmacher
d70afbb067 torture/smb2: add torture_suite_add_2smb2_test() helper function
metze
2008-04-17 02:39:30 +02:00
Stefan Metzmacher
66c0f331a2 torture/smb2: fix whitespaces
metze
2008-04-17 02:39:30 +02:00
Stefan Metzmacher
fbfbd74e65 smb_server/smb2: initialize new create.in.blobs element untill it'll be supported
metze
2008-04-17 02:39:29 +02:00
Jelmer Vernooij
2d1ca8cb7a Avoid recursive make for code coverage. 2008-04-17 02:06:07 +02:00
Stefan Metzmacher
e0a0d8e36a libcli/smb2: make it possible to pass additional extra blobs in smb2_create()
This also fixes the alignment from 8 to 4 byte bounderies.

metze
2008-04-17 01:58:25 +02:00
Stefan Metzmacher
874924a85a libcli/smb2: also offer the SMB2 dialect that what used in longhorn beta3
With this smbtorture works against longhorn beta3 again,
hopefully it still works with new versions...

metze
2008-04-17 01:58:24 +02:00
Jelmer Vernooij
b659e83cd6 Add convenience function for getting at event context from ejs code. 2008-04-17 01:37:42 +02:00
Jelmer Vernooij
04420b4689 Avoid using event_context_find where possible. 2008-04-17 01:37:02 +02:00
Jelmer Vernooij
40b7b0e503 Fix the build. 2008-04-17 01:30:21 +02:00
Jelmer Vernooij
1da0063bd5 Require explicit event context rather than looking if it is not specified. 2008-04-17 01:22:39 +02:00
Jelmer Vernooij
a95a71fe45 Explicitly require event context to be specified. 2008-04-17 01:19:53 +02:00
Jelmer Vernooij
fd0bb96ace Use provided event context rather than looking for it. 2008-04-17 01:19:20 +02:00
Jelmer Vernooij
906b9fe158 Require passing in an event context to endpoint mapper utility function. 2008-04-17 01:09:33 +02:00
Jelmer Vernooij
4d7fc946b2 Remove event context tracking from the credentials struct. 2008-04-17 01:03:18 +02:00
Jelmer Vernooij
4ca264679e Avoid event_find_context when a event context is already available. 2008-04-16 23:06:27 +02:00
Jelmer Vernooij
2823fca23a Use readily available event context. 2008-04-16 22:52:07 +02:00
Jelmer Vernooij
d40804777e Avoid event_find_context() when the event context is already available
in the net utility.
2008-04-16 22:30:15 +02:00
Jelmer Vernooij
b175e7bf16 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test 2008-04-16 18:17:10 +02:00
Jelmer Vernooij
dedbeea4d2 Fix todo element on actually implemented function. 2008-04-16 18:11:37 +02:00
Andrew Bartlett
eab5f6a7f5 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet 2008-04-16 17:35:32 +02:00
Andrew Bartlett
29d5de9e8f Adjust the expectations of the struct based winbind test.
These expectations (such as what happens when we have no trusted
domains) were incorrect, compared with Samba3 (which is the reference
for this protocol).

Andrew Bartlett
2008-04-16 17:33:58 +02:00
Jelmer Vernooij
356a5d2474 Provide stubs when the [todo] attribute is set. 2008-04-16 17:21:48 +02:00
Andrew Tridgell
40c93ffbe9 fixed popt handling on 64bit boxes in gentest 2008-04-16 17:11:21 +02:00
Andrew Bartlett
18dd8120cc Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet 2008-04-16 16:12:58 +02:00
Andrew Bartlett
df05f11883 Fix struct_based winbind test for 'check machine account'.
The problem here was that we did not fill in the error strings in the
success case, and the testsuite checked against the incorrect
'freindly' error string.

Andrew Bartlett
2008-04-16 16:11:17 +02:00
Andrew Bartlett
86694d429d Fix wbinfo --trusted-domains.
The problems here were that we did not bind to the LSA pipe, and we
did not consider it possible to have 0 trusted domains.

Andrew Bartlett
2008-04-16 16:10:16 +02:00
Jelmer Vernooij
49367e044e Use the subunit shell library. 2008-04-16 14:52:29 +02:00
Jelmer Vernooij
9b364bf390 Remove policy library - it's now in a separate git repository. 2008-04-16 14:41:42 +02:00
Jelmer Vernooij
690924dc7f Use library for subunit test functions. 2008-04-16 12:34:53 +02:00
Jelmer Vernooij
38ed501ac8 make sure header can be included more than once. 2008-04-16 11:43:37 +02:00
Andrew Bartlett
664f2fc49f Now that we don't create a new event context, don't free it.
This previously would free the torture provided global event context.

Andrew Bartlett
2008-04-16 09:02:12 +02:00
Jelmer Vernooij
fee7ea7080 Remove unused arguments from reg_open_local(). 2008-04-16 01:32:54 +02:00
Jelmer Vernooij
4f0954905a Fix -r test, knownfailure return code. 2008-04-16 01:10:20 +02:00
Jelmer Vernooij
46ad68ad0b Mention the actual exit code when a suite failed. 2008-04-16 00:17:03 +02:00
Jelmer Vernooij
56340a5fa1 Merge branch 'wbinfo-test' of git://git.samba.org/kai/samba/kai-work-in-progress into v4-0-selftest 2008-04-16 00:05:36 +02:00
Jelmer Vernooij
a3f0e4151b Fix executable bit on blackbox ndrdump tests. 2008-04-16 00:05:12 +02:00
Jelmer Vernooij
f22602797f Provide the right error count to formatters. 2008-04-16 00:04:11 +02:00
Jelmer Vernooij
92873264d7 Properly warn about exit codes that indicate success while tests claim
failure.
2008-04-16 00:03:45 +02:00
Jelmer Vernooij
ad58a50854 Support knownfail Subunit command. 2008-04-16 00:03:00 +02:00
Jelmer Vernooij
0f789e6779 Deal with commands not even starting. 2008-04-15 23:52:06 +02:00
Kai Blin
0a2942f6e9 blackbox: Add many more tests for wbinfo 2008-04-15 23:36:41 +02:00
Jelmer Vernooij
a24651d649 Add some documentation about the expected testsuite output. 2008-04-15 23:21:43 +02:00