1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

2455 Commits

Author SHA1 Message Date
Jelmer Vernooij
a60ab76694 r22339: Run some more tests.
(This used to be commit 1b73e6a776a3ef478718f656523d125d28589f5c)
2007-10-10 14:51:06 -05:00
Jelmer Vernooij
0fe8434b3b r22336: Add some more share tests.
(This used to be commit dfc88ad698644fe90f0275c457e7b84ddde302a4)
2007-10-10 14:51:05 -05:00
Jelmer Vernooij
f40244af7b r22328: Add initial testsuite for share code.
(This used to be commit 3d079732a9cf15fcc3638db5f77bb45d7580d251)
2007-10-10 14:51:03 -05:00
Andrew Bartlett
e18eed167a r22322: Cut timelimits for BENCH tests run in quicktest.
Andrew Bartlett
(This used to be commit 63b89ccbebee6b1a73ac495e03c566e0b39e4646)
2007-10-10 14:51:02 -05:00
Jelmer Vernooij
2c247996a9 r22286: Import branch that converted the Samba4 test target code to perl and makes the code a bit clearer.
(This used to be commit e3ba5ced0440e736f0f140e12a8c728f79a20bb2)
2007-10-10 14:50:56 -05:00
Jelmer Vernooij
92573a7176 r22256: Use shorter directory names for tests.
(This used to be commit cddf4d95aa88f4653c2b5da7bdfa4d03bdae0bbc)
2007-10-10 14:50:47 -05:00
Stefan Metzmacher
aea41afb52 r22216: move strptime testsuite into it's own file
so we can include it for the configure test

as it seems that strptime() is really broken on some hosts
in the build farm, re should use the replacement code
when we detect this in the configure test

metze
(This used to be commit 08a5e9760643b9fbf00fdcf7163de7cf50e841e6)
2007-10-10 14:50:38 -05:00
Stefan Metzmacher
3dc258faa7 r22201: crash fix...
metze
(This used to be commit 60799d171fa12debe61164b467e55a9e08485e28)
2007-10-10 14:50:37 -05:00
Stefan Metzmacher
c0bcbd448c r22195: fix compiler warnings and convert the whole torture/rpc/unixinfo.c code
to the new torture ui functions

metze
(This used to be commit 94a5f1568d8307e1cb55df7d73cfea9ce1037238)
2007-10-10 14:50:03 -05:00
Stefan Metzmacher
9407f3d0a6 r22194: fix compiler warning and
compile in but disable NetShareAddSetDel test

metze
(This used to be commit 1091f00ce0d731568d7f2acbc6e43f87de90baa0)
2007-10-10 14:50:03 -05:00
Stefan Metzmacher
d57326a476 r22193: fix compiler warning and formating
metze
(This used to be commit b050fe9e0bf6100ef786ac38b192aaa26229d300)
2007-10-10 14:50:02 -05:00
Stefan Metzmacher
537e773892 r22192: fix compiler warnings
ClearEventLog test is compiled in but disabled now

metze
(This used to be commit 19fb09970a7bb1c52e616ae9402ea843139a5414)
2007-10-10 14:50:02 -05:00
Stefan Metzmacher
52cf4bd0e1 r22190: fix compiler warnings and remove unused talloc_reference()
metze
(This used to be commit 60145f3c5bca2227efd8de9ebfe35f536fbbd860)
2007-10-10 14:50:01 -05:00
Stefan Metzmacher
2eb8b675d1 r22189: fix compiler warning
metze
(This used to be commit 62faa4bce44c438a04e44a9189290333ebee9aa5)
2007-10-10 14:50:01 -05:00
Stefan Metzmacher
714b5df833 r22188: fix formating bug
metze
(This used to be commit e40912a2fd011351c6f0e7112f2984763bc53cb6)
2007-10-10 14:50:01 -05:00
Andrew Bartlett
b60157ffd2 r22184: On some hosts, parsing a compleatly invalid principal causes heimadal
to try and figure out what realm the current host is in (by DNS lookup
for it's full domain name).  We don't want to do that for this test,
just break the checksum.

Andrew Bartlett
(This used to be commit 791e87514505acc68c5a8ff71fe9a27efdc6a027)
2007-10-10 14:49:59 -05:00
Andrew Bartlett
7e92a071c5 r22176: Make the LOCAL-MESSAGING test pass again. Messaging sockets are in
the 'pid directory' now...

Andrew Bartlett
(This used to be commit 224e7d4cc7f7fd4c4656185ec688ecc727a6489e)
2007-10-10 14:49:57 -05:00
Andrew Bartlett
ca3e134c8b r22171: At least walk over the test_SetupCredentials2 before bailing as 'we
don't do this yet'...

Andrew Bartlett
(This used to be commit 99786cbaa942450c8970f5f14fbce931ab3e98ed)
2007-10-10 14:49:57 -05:00
Andrew Bartlett
d0179f164a r22120: Expand the RPC-CRACKNAMES test, to test more values and expose patterns.
Fix up our server side implementation to pass almost all the tests (a
couple are skipped).

Don't require the DsGetDomainControllerInfo calls to pass, just get
some info from them.

Andrew Bartlett
(This used to be commit a29eb8f7e541d2021726601faf52355e312c916b)
2007-10-10 14:49:53 -05:00
Andrew Bartlett
270248ac02 r22118: Add another RPC-CRACKNAMES test, but allow a way to skip sub-parts of
this test we don't yet support in Samba4.  I want to at least try and
test this parts of this codebase...

Andrew Bartlett
(This used to be commit cb2e4ca220ca03cd1893e7f6c18de0ab181817b8)
2007-10-10 14:49:52 -05:00
Andrew Bartlett
98fda45351 r22116: Only query by SID if we have a SID
Andrew Bartlett
(This used to be commit 018939a8fd224f5aa404f08ec94ac49a7b43d7ec)
2007-10-10 14:49:52 -05:00
Andrew Tridgell
25b4ee7af8 r22087: added a RAW-BENCH-OPEN test that can be used to stress out a clustered
implementation of a opendb backend. Use it in combination with
--unclist to tell smbtorture to connect to multiple nodes in the
cluster
(This used to be commit b4e38b1b8dbc3ce817f858f39c3f0521c9832fce)
2007-10-10 14:49:50 -05:00
Andrew Bartlett
e936efb26f r22086: Bail out early on some of these failures.
(This used to be commit 8311bdfde92a9efe7730ed4a0f5f70f8e0d25ef6)
2007-10-10 14:49:50 -05:00
Jelmer Vernooij
690df3ccd9 r22063: Fix the RPC-EPMAPPER test.
(This used to be commit 101cdd1ec1933874e3cb961f4eb365cbd31a728a)
2007-10-10 14:49:46 -05:00
Andrew Tridgell
15ceca1956 r22025: patch from Ronnie to make locktest also test the behaviour of pid
changes in the locks
(This used to be commit 369b185f291f73e4e92481952781c13d59c068fd)
2007-10-10 14:49:41 -05:00
James Peach
90d8786d05 r21951: Hopefully fix valgrind warning.
(This used to be commit e5d0487f3196da4e5aa79a6f285b3f3d23d303ca)
2007-10-10 14:49:39 -05:00
James Peach
c61db93c7e r21949: After discussion with the Apple and Linux client maintainers,
changing the FindFirst response for the UNIX_INFO2 level to include
a length field before the name. The name is not required to be null
terminated. the lenght field does not count any null.
(This used to be commit eef672bfff6b112ceceec2a58c78042352e83276)
2007-10-10 14:49:39 -05:00
Stefan Metzmacher
40c2da7e89 r21943: don't send unitialized data
metze
(This used to be commit 7cb01a64953580d72bda3a8ddb727b5abd1ec0ff)
2007-10-10 14:49:39 -05:00
Jelmer Vernooij
2fca3f9082 r21909: Merge some of my recent improvements to the test infrastructure:
- Allow tests to specify what environment they need to run in (dc and none are thecurrent supported ones).

- Move more Samba4-specific code out of the common code
(This used to be commit dbe9de10287c902f4a5ea5d431dea4a79f9b170b)
2007-10-10 14:49:37 -05:00
Stefan Metzmacher
dcd65a50a1 r21843: the computer_dn isn't needed anymore because we don't manually reset the password
anymore

metze
(This used to be commit fee2c6d13de8752b7e6c379cdf6a3f5fcb4a29a6)
2007-10-10 14:49:36 -05:00
Stefan Metzmacher
41c5453507 r21839: add my email address
metze
(This used to be commit e3be33c1d9f9e44ef37e6ef72a23576474f6e725)
2007-10-10 14:49:35 -05:00
Jelmer Vernooij
00d74b84e9 r21837: Make dcerpc_mgmt a separate library again, as the linker leaves it out when it's part of dcerpc.
(This used to be commit dc4428553ec2749ef1ba24fbffeaabf0af6bf364)
2007-10-10 14:49:35 -05:00
Jelmer Vernooij
606c0fec43 r21830: Fix header installation, remove proto header with a single prototype.
(This used to be commit 47a17a741af625eb52f611b3d0f3ea0e207f2c3a)
2007-10-10 14:49:33 -05:00
Stefan Metzmacher
37f2d53528 r21827: move comments to the place where the functionality is implemented
metze
(This used to be commit 5d49d8b9e149d320cb08c5c2a4fc4cb8bfd74129)
2007-10-10 14:49:33 -05:00
Stefan Metzmacher
31c674bffc r21821: move comment about the becoming a dc to the code which implements it
and extent the comments a bit

metze
(This used to be commit 16c958600ea6d4481f32081262bf8bae4b56a247)
2007-10-10 14:49:32 -05:00
Stefan Metzmacher
d0f989628a r21817: give fields a meaning
metze
(This used to be commit 521355b57b74dbdccc6ae15738345e1d989ce262)
2007-10-10 14:49:31 -05:00
Andrew Bartlett
9b921af12e r21791: This test is still just as valid without as much CPU time wasted.
Andrew Bartlett
(This used to be commit 3549785700cb412fae0e58c530faa40683952d55)
2007-10-10 14:49:27 -05:00
Andrew Bartlett
3370f2f2d7 r21761: - Give more detail on LDAP client library failures (make it clear
where the error is from)

- Make default error string more consistant

Andrew Bartlett
(This used to be commit 7f115579d20a3112efd11444fafcbf78698fc9a1)
2007-10-10 14:49:24 -05:00
Andrew Bartlett
5f2f653dcb r21745: indent
(This used to be commit 7841b299061ec8f4f6a14720dbe4fa7108313848)
2007-10-10 14:49:22 -05:00
Andrew Bartlett
aeaa440932 r21727: Walk some more of the error branches in the ChangePasswordUser server.
Andrew
(This used to be commit c1ee06703ac09708a8ff10a641b593362f1bd309)
2007-10-10 14:49:18 -05:00
Andrew Bartlett
3e1dd63927 r21719: Try to cover more of the server-side password processing.
Don't just exit the test with 'return True', actually process the result.

Turn off password complexity checking for the password length test.

Andrew Bartlett
(This used to be commit 1a7635baa701c6268eebd84dd0dc187379c44e6e)
2007-10-10 14:49:17 -05:00
James Peach
754d416ea5 r21710: Add client support for the UNIX_INFO2 info level in the QueryFile,
QueryPath and FindFirst calls. Add a new torture test to verify the
server side.
(This used to be commit 7f56da2d1fa0718e5282bb4aea7d9a63a62f0bc7)
2007-10-10 14:49:16 -05:00
Jelmer Vernooij
72d88d158a r21707: Finally merge my (long-living) perlselftest branch.
This changes the main selftest code to be in perl rather than in shell script.

The selftest script is now no longer a black box but a regular executable that takes
--help.

This adds the following features:

 * "make test TESTS=foo" will run only the tests that match the regex "foo"
 * ability to deal with expected failures. the suite will not warn about tests
   that fail and are known to fail, but will warn about other failing tests and
   tests that are succeeding tests but incorrectly marked as failing.
 * ability to print a summary with all failures at the end of the run

It also opens up the way to the following features, which I hope to implement later:
 * "environments", for example having a complete domains with DCs and domain members
 in a testenvironment
 * only set up smbd if necessary (not when running LOCAL tests, for example)
 * different mktestsetup scripts per target. except for the mktestsetup script, we can
   use the same infrastructure for samba 3 or windows.
(This used to be commit 38f867880beb40c691e9713f854426031310629c)
2007-10-10 14:49:15 -05:00
Andrew Bartlett
0a1fefe539 r21699: Because TALLOC_CTX is a void*, I didn't get a compiler warning about
this incorrect argument.

This also fixes the server-side valgrind issue, but we need to chase
down the real issue.

Andrew Bartlett
(This used to be commit a0c78a75acb9bc581dd8d2688aa91d7b59549c3e)
2007-10-10 14:49:15 -05:00
Andrew Bartlett
099a3a7f52 r21697: Try to cover the 'bad session key' codepaths too.
Andrew Bartlett
(This used to be commit 33cfe1ca221de9ef9dec264772fb299125c39447)
2007-10-10 14:49:14 -05:00
Andrew Bartlett
6bca66d7d1 r21696: Run the RPC-COUNTCALLS test to try and walk some of the NDR layer for
routines for which we don't have any tests.

Andrew Bartlett
(This used to be commit e5b9bdf03729a913f3c6cc7709abcbdf50899562)
2007-10-10 14:49:14 -05:00
Jelmer Vernooij
1d75e907e2 r21694: Some more testing updates.
(This used to be commit 9247626b1c5f1eec0cedd6be221aafc41d9a26ab)
2007-10-10 14:49:13 -05:00
Andrew Bartlett
0a28fbae1b r21693: Fix the RPC-SCANNER test. Share some code with the RPC-MGMT test to
make things easier to keep working.

Andrew Bartlett
(This used to be commit 16db4c1436725e41ea05628f20fc9396d7bd7eaa)
2007-10-10 14:49:13 -05:00
Jelmer Vernooij
0474005d07 r21691: Add testsuite for lib/charset
(This used to be commit a4184893959bb25541704938ee621e5c575b817d)
2007-10-10 14:49:13 -05:00
Jelmer Vernooij
bf08493a78 r21688: Add simple tests for genrand
(This used to be commit 90f23f0de86bb63ad65556ff2dab8b066236f300)
2007-10-10 14:49:12 -05:00