Jelmer Vernooij
7ea3cc5f29
selftest: Use subunit internally, and a separate test output formatter.
2009-06-11 19:59:57 +02:00
Andrew Tridgell
c6f5e1ba84
fixed some places where RPC-SECRETS needs to be changed to RPC-LSA-SECRETS
...
this copes with a rename of SECRETS to LSA-SECRETS in an earlier patch
by gd
2009-06-10 12:24:12 +10:00
Jelmer Vernooij
6b0e6fc0b3
s4-tests: Add separate variable for tap2subunit.
2009-06-09 21:54:05 +02:00
Günther Deschner
71caa90cd8
s4-selftest: change rpc.secrets to rpc.lsa.secrets here as well.
...
Guenther
2009-06-09 15:32:36 +02:00
Andrew Bartlett
3ce37ae750
Don't run the RPC-SAMR-LARGE-DC test multiple times
2009-06-04 11:22:52 +10:00
Jelmer Vernooij
7fddc71caa
selftest: Run tests for Samba4 target in the samba 4 testsuite.
2009-06-03 16:26:30 +02:00
Jelmer Vernooij
87bbae7b07
Rename harness2subunit.pl -> tap2subunit to be consistent with the
...
subunit tools.
2009-06-03 16:26:29 +02:00
Jelmer Vernooij
ac9ff3574d
Fix pythonpath so subunit can be found.
2009-06-02 18:05:42 +02:00
Andrew Bartlett
10f076a77d
Explicitly list RPC-SAMR-PASSWORDS-PWDLASTSET and RPC-SAMR-USERS-PRIVILAGES as slow
2009-05-29 11:56:26 +10:00
Günther Deschner
686e60581b
s4-selftest: adding RPC-SAMR-USERS-PRIVILEGES to knownfail list.
...
Samba4 cannot pass this test currently as in Samba4 (unlike Samba3)
the LSA and SAMR account are stored in the same db.
Once you delete a SAMR user the LSA privilege account is deleted
at the same time (which is wrong).
Guenther
2009-05-21 12:19:56 +02:00
Jelmer Vernooij
5065cf70f8
tevent: Remove python module.
...
This module didn't have any functionality that we actually used yet, and
it was quite small.
Tevent is quite low level and perhaps doesn't make much sense to expose
directly as a Python module. It was also causing build problems when used with a
system-tevent. We can always back later if necessary.
2009-05-16 14:56:37 +02:00
Günther Deschner
c3e61b5460
s4-selftest: match new name of RPC-SAMR-ACCESSMASK.
...
Guenther
2009-05-13 15:19:40 +02:00
Stefan Metzmacher
d8f3f7cd42
s4:selftest: don't run the smb2.durable.open test
...
it often crashes when the server doesn't support them.
metze
2009-04-25 06:18:58 +02:00
Stefan Metzmacher
bec71ba928
s4:selftest: s4 doesn't support osxrename and directory rename yet
...
metze
2009-04-25 03:15:56 +02:00
Andrew Bartlett
1856b999c8
python/rpc: Add custom GUID.__str__, GUID.__repr__, GUID.__init__ and GUID.__cmp__.
2009-04-21 11:14:11 +02:00
Stefan Metzmacher
5beaf230ca
s4:selftest: ignore smb2.lease test for now
...
metze
2009-04-20 15:15:40 +02:00
Andrew Tridgell
9d50c6b603
enable testing of possibleInferiors generation
2009-04-09 14:37:52 +10:00
Stefan Metzmacher
593ab6ac00
s4:selftest: rename SMBD_VALGRIND => SAMBA_VALGRIND
...
metze
2009-03-21 10:44:40 +01:00
Günther Deschner
ca9d67bf18
s4-spoolss: just return OK for dcesrv_spoolss_EnumPrintProcDataTypes for now.
...
Guenther
2009-03-07 09:59:12 +01:00
Björn Jacke
be479b6adf
don't rely on shebang's perl path, call our $PERL instead
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-03-07 08:18:46 +01:00
Günther Deschner
a93fbf8b26
s4-smbtorture: add test_EnumPrintProcDataTypes to RPC-SPOOLSS test.
...
Guenther
2009-03-07 00:25:44 +01:00
Björn Jacke
88bd0f2ac6
some shells are picky about ^ without quotes
2009-03-02 13:05:02 +01:00
Björn Jacke
fe8cf69ec6
don't hardcode python path
...
Signed-off-by: Michael Adam <obnox@samba.org>
2009-02-26 21:28:53 +01:00
Stefan Metzmacher
0fe9980fa0
LDAP-UPTODATEVECTOR: fix segfault against samba4 as server
...
metze
2009-02-05 17:48:08 +01:00
Stefan Metzmacher
7c72853b50
s4:selftest: don't use hardcoded pathes
...
metze
2009-02-03 16:31:04 +01:00
Stefan Metzmacher
40b67c3426
selftest: pass down the path to python for provisioning samba4
...
metze
2009-01-30 20:39:44 +01:00
Stefan Metzmacher
01f30a5e8e
s4:selftest: run RPC-COUNTCALLS as dc:local
...
metze
2009-01-30 13:34:28 +01:00
Stefan Metzmacher
3f967153c0
s4:selftest: run ncalrpc tests in dc:local mode
...
metze
2009-01-30 13:34:27 +01:00
Stefan Metzmacher
6b128f03d5
selftest: don't export $CONFIGURATION anymore only $SMB_CONF_PATH
...
metze
2009-01-30 13:33:34 +01:00
Stefan Metzmacher
52a49b448e
selftest: allow environment options
...
We support "local" and "client" (default) now.
We can decide if we want to run a client against the server
(with a special client.conf) or if we want to run tests localy
on the server with the same config as the server.
metze
2009-01-30 09:36:53 +01:00
Stefan Metzmacher
ccffe1ca71
s4:selftest: reference binaries via variables in tests.sh
...
metze
2009-01-21 13:35:36 +01:00
Kai Blin
c19926022c
s4-winbind: Remove a "knownfail" entry for the now implemented LIST_GROUPS
2009-01-16 07:33:16 +01:00
Stefan Metzmacher
2885a7ab6e
s4:selftest: report tevent tests as 'tevent.python'
...
metze
2009-01-02 18:16:55 +01:00
Jelmer Vernooij
7f148a2cf8
Fix Python event tests after rename to tevent.
2008-12-18 16:51:59 +00:00
Stefan Metzmacher
9f8dfb0a52
s4:selftest: we pass raw.delete.delete21
...
metze
2008-12-18 13:32:50 +01:00
Kai Blin
91a7c8b01b
nsswitch: Fix paths for Samba4 blackbox wbinfo test
2008-12-16 15:46:03 +01:00
Stefan Metzmacher
2026b34ebf
s4:selftest: samba4 fails the changed delete test
...
metze
2008-12-11 17:58:31 +01:00
Günther Deschner
9ea4b5aac2
s4-smbtorture: skip ServerGetTrustInfo for samba4.
...
Guenther
2008-12-10 12:47:05 +01:00
Stefan Metzmacher
6c9b0298a9
s4:selftest: we have netr_GetDcName() and netr_GetAnyDCName() implementations now
...
metze
2008-12-04 12:48:45 +01:00
Günther Deschner
580c2b3283
selftest: s4 does not have a pwdlastset implementation yet.
...
Guenther
2008-11-28 14:09:47 +01:00
Günther Deschner
67018ed8bd
s4-smbtorture: add very basic RPC-NTSVCS test.
...
Guenther
2008-11-12 10:19:53 +01:00
Günther Deschner
2c5a9f0a57
s4-test: skip netr_DatabaseRedo test.
...
Guenther
2008-11-06 23:25:40 +01:00
Stefan Metzmacher
6bc9fb887f
selftest: move gdb_* and valgrind_* scripts to selftest/
...
metze
2008-10-28 12:20:59 +01:00
Jelmer Vernooij
7a683618e7
Require separate option for quicktest include list rather than making
...
assumptions about it.
2008-10-22 04:09:17 +02:00
Jelmer Vernooij
2ee8d29d22
Prevent warning about directory already existing.
2008-10-21 14:29:38 +02:00
Jelmer Vernooij
c3d8f472e8
Export variables correctly for blackbox tests (thanks metze).
2008-10-20 10:53:26 +02:00
Jelmer Vernooij
c0de338394
Move Samba4-specific code out of selftest.
2008-10-19 16:07:00 +02:00
Jelmer Vernooij
7e088ec354
Fix comment after paths have changed.
2008-10-19 14:41:10 +02:00
Jelmer Vernooij
694a579cb8
Merge branch 'selftest' of git://git.samba.org/jelmer/samba
2008-10-19 10:20:37 +02:00
Jelmer Vernooij
06cdfb17b9
Support "make test-X" to run all tests that match regex X.
2008-10-11 22:22:29 +02:00
Jelmer Vernooij
0fd0fc75c4
Merge branch 'master' of ssh://git.samba.org/data/git/samba into selftest
...
Conflicts:
selftest/selftest.pl
2008-10-11 03:12:21 +02:00
Jelmer Vernooij
3ecde315d3
Import tests for subunit python module.
2008-10-08 02:19:59 +02:00
Jelmer Vernooij
8da78b7325
Move subunit helper utility to specific subunit directory.
2008-10-08 02:19:59 +02:00
Jelmer Vernooij
c024fb7d57
Allow 'make testenv-dc', 'make testenv-member', etc.
2008-10-08 02:19:24 +02:00
Stefan Metzmacher
45645426c2
s4:selftest: make sure we test RPC-OBJECTUUID with seal
...
metze
2008-09-30 06:47:25 +02:00
Stefan Metzmacher
3ff298c37b
s4:selftest: add "smb.signing" to anon signing tests
...
metze
2008-09-30 06:47:22 +02:00
Andrew Tridgell
bda97661ff
fixed expansion of $USERNAME in signing tests
2008-09-24 18:28:58 -07:00
Jelmer Vernooij
6a689c23e8
Rename smbd -> samba.
...
This reverts commit 05ea5e23cf
.
Conflicts:
source4/smbd/server.c
2008-09-24 03:16:15 +02:00
Stefan Metzmacher
61a38d9180
selftest: test some smb signing combinations against the member server
...
metze
2008-09-23 11:30:04 +02:00
Jelmer Vernooij
afa850910f
Avoid printing characters when in immediate mode.
2008-09-21 23:09:56 +02:00
Jelmer Vernooij
beee9debea
Print status (one character per test) when not running selftest with --immediate.
2008-09-21 22:26:44 +02:00
Jelmer Vernooij
05ea5e23cf
Revert "Rename smbd -> samba."
...
This reverts commit 0e9008be35
.
2008-09-21 21:32:40 +02:00
Jelmer Vernooij
0e9008be35
Rename smbd -> samba.
2008-09-21 21:26:40 +02:00
Jelmer Vernooij
da987d8fb4
No longer set PATH during selftest, was only required for smbscript.
2008-09-21 15:55:08 +02:00
Jelmer Vernooij
163292f325
Merge branch 'master' of ssh://git.samba.org/data/git/samba into noejs
2008-09-19 16:26:00 +02:00
Jelmer Vernooij
c7d069a483
Fix path to ndrdump in blackbox test, don't start smb server for ndrdump
...
tests.
2008-09-19 12:07:03 +02:00
Jelmer Vernooij
acffa3ddbf
Stop writing js include dir in selftest.
2008-09-18 20:48:09 +02:00
Jelmer Vernooij
729ffbae08
Merge branch 'master' of ssh://git.samba.org/data/git/samba into noejs
...
Conflicts:
source4/main.mk
2008-09-18 20:29:05 +02:00
Jelmer Vernooij
88ad1a936c
Remove EJS tests.
2008-09-18 20:28:42 +02:00
Jelmer Vernooij
69d38a95c2
keep obsolete file in samba4 source directory.
2008-09-18 19:53:05 +02:00
Jelmer Vernooij
182a0e3490
Move selftest code to top-level.
2008-09-18 19:51:03 +02:00
Jelmer Vernooij
b72d29724d
Fix python path for systems without tdb installed in the system.
2008-09-18 15:25:31 +02:00
Jelmer Vernooij
b16a8f31ad
Fix location of included popt files for systems that don't have popt.
2008-09-17 17:13:02 +02:00
Jelmer Vernooij
740f67d781
Avoid running target-specific tests during general test run,
2008-09-16 18:34:40 +02:00
Jelmer Vernooij
d7a0c26af4
Move torture/ blackbox tests closer to code they're testing.
2008-09-16 18:30:24 +02:00
Jelmer Vernooij
aa09d8a75f
Move ndrdump tests closer to the code they test.
2008-09-16 18:16:49 +02:00
Andrew Bartlett
0cbfc686c4
Fix failures in the winbind struct-based test.
...
Don't try to pass the 'privileged' socket directory around for expected value testing - it is just too hard...
A better test (once we unify the winbind protocol with Samba3) would
be a operation to see if you are on the priv pipe, and that will give
acutal end-to-end testing.
Andrew Bartlett
(This used to be commit 2d4103518a
)
2008-09-11 11:49:24 +10:00
Andrew Bartlett
171986aea2
Move blackbox.smbclient to test against the member server.
...
The DC is now using smb signing, so testing for the old SMB versions
won't work.
Add a new test script to check 'net join' independent of
blackbox.smbclient.
Andrew Bartlett
(This used to be commit 44ff392ffe
)
2008-09-08 14:18:04 +10:00
Andrew Bartlett
0f1eea2672
Rework provision to handle both simple and SASL binds.
...
Fedora DS is still setup for simple binds only, at this point.
(it also fails on other issues).
Andrew Bartlett
(This used to be commit b24c572d5a
)
2008-07-15 15:46:32 +10:00
Andrew Bartlett
a6b842f963
Connect to the LDAP backend with SASL credentials.
...
This reworks our LDAP backend code to move from anonymous access to a
shared-secret SASL-protected connection. (SASL selects NTLM or
DIGEST-MD5 on my system).
To get this working, we must pre-populate the LDAP backend with a DN
to store ths SASL secret on, and we use back-ldif for this.
This gives us a reasonable basis to deploy a replicated OpenLDAP
backend solution.
Andrew Bartlett
(This used to be commit cd0745253c
)
2008-07-15 15:15:12 +10:00
Andrew Bartlett
13a498939a
Fix 'make gdbtest-enb' and the GDB_PROVISION option.
...
(This used to be commit 79c4d8e2fa
)
2008-07-15 15:01:43 +10:00
Andrew Bartlett
b5808e5d65
selftest changes for 'winbind privileged dir' change.
...
(This used to be commit c19b28f757
)
2008-06-28 22:03:52 +10:00
Jelmer Vernooij
26e9194e3a
Move blackbox tests closer to what they're testing.
...
(This used to be commit c9b2e2aa86
)
2008-06-26 10:56:59 +02:00
Jelmer Vernooij
9c6b7f760a
Use variable for selftest directory.
...
(This used to be commit 78760606fa
)
2008-06-25 20:04:35 +02:00
Andrew Bartlett
48100ca5c6
Remove old ldap.js test, we have replicated it in python now.
...
This will soon allow the removal of smbscript, once the samba3sam test
conversion is complete.
Andrew Bartlett
(This used to be commit 60c93b9777
)
2008-06-19 14:53:14 +10:00
Andrew Bartlett
9ea25cacf1
Add a blackbox test for the provision-backend script.
...
This test (as most tests do :-) found a few bugs, also fixed in this
commit.
Andrew Bartlett
(This used to be commit d96a6482da
)
2008-06-19 11:05:20 +10:00
Jelmer Vernooij
232fd06271
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-fixmodulesdir
...
(This used to be commit 30a33cd0a6
)
2008-06-17 13:48:29 +02:00
Simo Sorce
370f95acfc
Try to get a bit further with provisioning
...
(This used to be commit 649f6c0c10
)
2008-06-16 17:52:50 -04:00
Jelmer Vernooij
c075fe9693
Remove support for deprecated JS provisioning.
...
(This used to be commit 9a5859c33e
)
2008-06-16 23:19:14 +02:00
Jim McDonough
f3fb381952
Missed these on the last commit
...
(This used to be commit 0e8f946ed0
)
2008-06-12 07:06:07 -04:00
Stefan Metzmacher
a2f1bd0050
selftest: pass torture:writetimeupdatedelay to smbtorture
...
metze
(This used to be commit c285b540cb
)
2008-06-03 14:05:05 +02:00
Stefan Metzmacher
70f83b4944
selftest: set posix:writetimeupdatedelay
...
metze
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit 62030027d1
)
2008-06-03 14:05:05 +02:00
Jelmer Vernooij
5107f093c2
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-defs
...
Conflicts:
source/samba4-skip
(This used to be commit 7b0e0eb346
)
2008-05-30 12:18:07 +02:00
Andrew Bartlett
b6b1f3b007
Place the NTP signd socket in the selftest area
...
(This used to be commit e2fa378811
)
2008-05-30 15:21:40 +10:00
Andrew Bartlett
b34bc408e7
Don't pass an smb.conf to provision tests.
...
These tests will create their own smb.conf in their prefix anyway.
Andrew Bartlett
(This used to be commit c0322e8e27
)
2008-05-30 14:36:24 +10:00
Jelmer Vernooij
46f22add9a
Make sure reason for skipping is output.
...
(This used to be commit 2d1cac54de
)
2008-05-30 04:12:39 +02:00
Jelmer Vernooij
a127b1b1b0
Add samba4-slow file listing tests that succeed but are just slow.
...
Added a 'make slowtest' target that does run these tests.
Also added some comments in the test lists files.
(This used to be commit f67f3422b0
)
2008-05-29 18:19:19 +02:00
Jelmer Vernooij
3d2c9e49a5
Allow full-line comments in include/exclude files.
...
(This used to be commit 4095f3c358
)
2008-05-29 18:17:42 +02:00
Jelmer Vernooij
6f7b2b6933
Fix samdb test and enable it.
...
(This used to be commit 6b202d3780
)
2008-05-29 17:38:12 +02:00
Jelmer Vernooij
4e9ca6caf9
Remove unused EJS net bindings.
...
(This used to be commit 3923414849
)
2008-05-26 14:00:28 +02:00
Jelmer Vernooij
2067fc60c5
Add tests for irpc python bindings.
...
(This used to be commit 1ce0632afe
)
2008-05-25 16:47:12 +02:00
Jelmer Vernooij
21ce0ff006
Allow connecting to a DCE/RPC interface with Python for which we don't have IDL.
...
(This used to be commit e3178d522c
)
2008-05-24 22:56:49 +02:00
Jelmer Vernooij
33231f44da
Report full 'path' of unexpected test results for easier inclusion in knownfailure file.
...
(This used to be commit 33cc9b0f5f
)
2008-05-23 16:17:23 +02:00
Jelmer Vernooij
0b62a0875f
selftest: Use convenience function for prepending paths to environment variables.
...
(This used to be commit f71cb65a90
)
2008-05-23 15:20:32 +02:00
Jelmer Vernooij
d9109c5342
Self PYTHONPATH from selftest.
...
(This used to be commit f7e350368b
)
2008-05-23 12:40:45 +02:00
Jelmer Vernooij
fb7e359561
Remove unused echo ejs script.
...
(This used to be commit 3a6b009d50
)
2008-05-23 04:20:52 +02:00
Jelmer Vernooij
27005cb7a2
Convert samr test to python.
...
(This used to be commit 88d473b202
)
2008-05-23 04:20:45 +02:00
Jelmer Vernooij
84a3290c8f
Fix python imports.
...
(This used to be commit 4532066656
)
2008-05-22 01:47:36 +02:00
Jelmer Vernooij
4accab35c6
Merge branch 'nosmbpython' into v4-0-test
...
(This used to be commit 9683f7434c
)
2008-05-12 03:54:53 +02:00
Jelmer Vernooij
0be941a383
Remove python extension from upgrade script.
...
(This used to be commit 5268649b7e
)
2008-05-11 14:32:06 +02:00
Jelmer Vernooij
babdcc6135
Use system python rather than smbpython.
...
(This used to be commit d3df51cd01
)
2008-05-11 05:29:20 +02:00
Andrew Bartlett
7d38a51af9
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
...
(This used to be commit 8d9812bada
)
2008-04-17 14:25:22 +02:00
Andrew Bartlett
ca2e4a0e14
Run samba3sam.js with bin/smbscript explicitly.
...
Andrew Bartlett
(This used to be commit 12fa307653
)
2008-04-17 14:23:50 +02:00
Simo Sorce
d7034765b7
Add useful provisioning debugging options
...
(This used to be commit 3f46eb95e4
)
2008-04-17 08:04:57 -04:00
Andrew Bartlett
eb8a4e2883
Run more tests that were previously skipped.
...
Andrew Bartlett
(This used to be commit 4e06b1d684
)
2008-04-17 11:25:19 +02:00
Andrew Bartlett
80ad7025cf
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
(This used to be commit 29d5de9e8f
)
2008-04-16 17:33:58 +02:00
Jelmer Vernooij
c60a914052
Mention the actual exit code when a suite failed.
...
(This used to be commit 46ad68ad0b
)
2008-04-16 00:17:03 +02:00
Jelmer Vernooij
f5c0be9208
Merge branch 'wbinfo-test' of git://git.samba.org/kai/samba/kai-work-in-progress into v4-0-selftest
...
(This used to be commit 56340a5fa1
)
2008-04-16 00:05:36 +02:00
Jelmer Vernooij
4b4a56fb1e
Provide the right error count to formatters.
...
(This used to be commit f22602797f
)
2008-04-16 00:04:11 +02:00
Jelmer Vernooij
8eb6d59a46
Properly warn about exit codes that indicate success while tests claim
...
failure.
(This used to be commit 92873264d7
)
2008-04-16 00:03:45 +02:00
Jelmer Vernooij
d3729a8efa
Support knownfail Subunit command.
...
(This used to be commit ad58a50854
)
2008-04-16 00:03:00 +02:00
Jelmer Vernooij
e4cfb2d316
Deal with commands not even starting.
...
(This used to be commit 0f789e6779
)
2008-04-15 23:52:06 +02:00
Kai Blin
3413cfefb8
blackbox: Add many more tests for wbinfo
...
(This used to be commit 0a2942f6e9
)
2008-04-15 23:36:41 +02:00
Jelmer Vernooij
8170956b68
Add some documentation about the expected testsuite output.
...
(This used to be commit a24651d649
)
2008-04-15 23:21:43 +02:00
Jelmer Vernooij
9062214d09
Add some documentation on test behaviour in selftest.
...
(This used to be commit e8e9f2cc7b
)
2008-04-15 22:42:52 +02:00
Andrew Bartlett
cb5873f36d
Fix some of the winbind tests.
...
Some of the test expectations were incorrect.
Andrew Bartlett
(This used to be commit bc0e94360e
)
2008-04-15 16:31:08 +02:00
Andrew Bartlett
afaba23131
Add blackbox test for ndrdump, to ensure it at least does not
...
segfault.
Andrew Bartlett
(This used to be commit d2fe61a13a
)
2008-04-15 09:13:32 +02:00
Jelmer Vernooij
2cdfaedee2
Make sure credentials are specified when running the Python winreg RPC tests.
...
(This used to be commit 280339e3d1
)
2008-04-14 19:20:43 +02:00
Andrew Bartlett
0e59c73fe3
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
...
(This used to be commit c0416a0b73
)
2008-04-08 17:31:36 +10:00
Andrew Bartlett
b2805c50ee
Re-add support for the --ldap-backend-port option to provision-backend
...
This option allows Fedora DS multi-master replication to work. I've
tried to update the wiki and scripts to the largely consistant with
each other.
Andrew Bartlett
(This used to be commit 42393c8307
)
2008-04-08 17:28:25 +10:00
Jelmer Vernooij
1f474f4a54
Add trivial test for unixinfo interface.
...
(This used to be commit b6b7171f70
)
2008-04-08 03:29:12 +02:00
Andrew Bartlett
142fbfb3c1
Fix and test python scripts and kerberos
...
This fixes up the python credentials interface in a number of areas,
with the aim of supporting '-k yes' as a command line option. (This
enables the use of kerberos).
As such, I've had to change the get_credentials call to take a
loadparm context, so that the credentials can be initialised
correctly.
The test_kinit script has been modified to prove that this continues
to work, as well as to provide greater code coverage of the kerberos
paths.
Andrew Bartlett
(This used to be commit 727ef40c2b
)
2008-03-28 21:57:15 +11:00
Andrew Kroeger
8f8c56bfbc
Convert some more files to GPLv3.
...
(This used to be commit ebe5e83994
)
2008-03-28 01:08:49 -05:00
Stefan Metzmacher
2c9ee20f15
selfteset: oplocks are enabled by default now
...
metze
(This used to be commit 9342c4f5ff
)
2008-03-27 10:12:19 +01:00
Stefan Metzmacher
5b35e55130
selftest: fix parsing of Subunit results
...
This reverts parts of
903eb9a23d
and
9196213c49
.
metze
(This used to be commit 5f5fa368c2
)
2008-03-18 15:59:21 +01:00
Stefan Metzmacher
297399d877
selftest: use a separate var for printing out sub parts of lines with \r
...
This restores the bahavior of the $_ variable in the code
that detects expected failures.
metze
(This used to be commit 903eb9a23d
)
2008-03-18 13:16:44 +01:00
Stefan Metzmacher
0de47f6b57
selftest: handle progress output in verbose mode
...
metze
(This used to be commit 9196213c49
)
2008-03-17 15:50:49 +01:00
Andrew Bartlett
0c88240236
Rework to have member server 'domains' be CN=NETBIOSNAME
...
This reworks quite a few parts of our provision system to use
CN=NETBIOSNAME as the domain for member servers.
This makes it clear that these domains are not in the DNS structure,
while complying with our own schema (found by OpenLDAP's schema
validation).
Andrew Bartlett
(This used to be commit bda6a38b05
)
2008-03-13 11:36:58 +11:00
Andrew Bartlett
07a7c8fa0d
Update the provision scripts and selftest for LDAP
...
This should allow us to provision onto an OpenLDAP backend again.
Also ensure we always have a sysvol and netlogon share in the selftest
environment.
Andrew Bartlett
(This used to be commit b2d9b03ba3
)
2008-03-13 09:55:06 +11:00
Stefan Metzmacher
cdafdaa0d9
selftest: use the same oplocktimeout for smbtorture as for smbd
...
metze
(This used to be commit 18e27aef7b
)
2008-03-04 14:40:56 +01:00
Andrew Kroeger
2db6aec31f
Fix blackbox.kinit test by issuing new certificates good for 25 years.
...
(This used to be commit 4f40c5940b
)
2008-03-02 07:57:13 -06:00
Andrew Bartlett
f5b0f7a5fe
Prove that not supporting ldapi is a bit problem.
...
For a while now, ldapi support has been busted, but it was only tested
when we were running against an external LDAP server.
Andrew Bartlett
(This used to be commit faf324cac6
)
2008-02-29 10:56:04 +11:00
Stefan Metzmacher
9ddbdfa02c
selftest: Samba4 passes all oplocks tests now
...
The support for oplocks is not completely finished
I believe we will not pass some non existing test.
But it's a good start.
metze
(This used to be commit 278eea57fa
)
2008-02-26 09:33:01 +01:00
Stefan Metzmacher
77054b42bd
selftest: we pass the BASE-DEFER_OPEN test
...
We just need to pass the same sharedelay time
to smbtorture as we use for smbd.
metze
(This used to be commit 3b78dc7ab2
)
2008-02-25 07:42:38 +01:00
Stefan Metzmacher
141f4b8f83
selftest: fix --socket-wrapper-pcap
...
metze
(This used to be commit f5ff4a571c
)
2008-02-21 15:55:06 +01:00
Jelmer Vernooij
ee6f838d3a
Make setup/provision the name of the python provision script now that that is the default.
...
(This used to be commit a0a05c5a3d
)
2008-02-21 01:22:20 +01:00
Andrew Bartlett
0b1a24681e
Be consistant about --ldap-backend-type
...
Make the EJS provision and the selftest scripts both use the new
syntax for speicifying the ldap backend type.
Andrew Bartlett
(This used to be commit b1d2584277
)
2008-02-21 10:43:13 +11:00
Jelmer Vernooij
1ce345ef97
Fix nbt tests.
...
(This used to be commit 7bbe48af55
)
2008-02-20 10:51:26 +01:00
Jelmer Vernooij
1507b886f8
Add VDE switch management functions.
...
(This used to be commit 5ad9bc7dd9
)
2008-02-19 22:04:26 +01:00
Jelmer Vernooij
c2941c9f0b
Initial work on vde support.
...
(This used to be commit 9b0dcac0bd
)
2008-02-19 21:51:09 +01:00
Jelmer Vernooij
95b294f75b
Only set "interfaces = " line for client when necessary.
...
(This used to be commit 89fd6e9d0c
)
2008-02-19 18:03:02 +01:00
Jelmer Vernooij
dbb79b6833
Add kvm name.
...
(This used to be commit 228710e265
)
2008-02-19 17:26:02 +01:00
Jelmer Vernooij
7f11952199
Allow loading kvm snapshots.
...
(This used to be commit 8ef295bb9c
)
2008-02-19 17:23:38 +01:00
Jelmer Vernooij
a31a2f082f
Allow connecting to screen.
...
(This used to be commit a021408c9d
)
2008-02-19 16:49:29 +01:00
Jelmer Vernooij
d3e182098a
Start dhcp server for kvm machine.
...
(This used to be commit a54507dbd6
)
2008-02-19 16:28:32 +01:00
Jelmer Vernooij
87f611ed69
Start and kill kvm instance properly.
...
(This used to be commit 78e49765a2
)
2008-02-19 15:12:57 +01:00
Jelmer Vernooij
33f63de66b
kvm fixes.
...
(This used to be commit 3a5e2f9ba3
)
2008-02-19 04:44:30 +01:00
Jelmer Vernooij
12e08782b3
Add Kvm start code.
...
(This used to be commit 6308c134b2
)
2008-02-19 03:29:03 +01:00
Jelmer Vernooij
a71c371432
Add framework for Kvm test.
...
(This used to be commit e4efbb2906
)
2008-02-19 02:44:31 +01:00
Jelmer Vernooij
0f3836238e
Fix local tests.
...
(This used to be commit 60f2eb4046
)
2008-02-18 23:27:55 +01:00
Jelmer Vernooij
b136033421
When not using --immediate, use a one-line progress indicator in selftest.
...
(This used to be commit 16b4af1841
)
2008-02-18 21:52:23 +01:00
Jelmer Vernooij
984d7d8422
Use consistent hierarchical naming for tests used in selftest.
...
This is mainly cosmetical and so it would in the future be possible to print a tree of the tests.
People using "make test TESTS=..." may have to specify a slightly different regular expression
than they used to.
(This used to be commit fe0f2173c0
)
2008-02-18 21:13:03 +01:00
Jelmer Vernooij
57e910668d
Unconditionally run the python tests.
...
(This used to be commit 0ab4428fce
)
2008-02-15 16:06:57 +01:00
Andrew Tridgell
054bc11876
added blackbox testing of gentest
...
(This used to be commit 716345fd38
)
2008-02-15 16:42:22 +11:00
Andrew Tridgell
c09f70608c
added a blackbox test for masktest
...
(This used to be commit 05a110123d
)
2008-02-15 15:33:10 +11:00
Andrew Tridgell
66e8bc9dac
converted locktest to use popt and cmdline utility code
...
(This used to be commit 625ea49a95
)
2008-02-15 14:55:31 +11:00
Andrew Tridgell
63c099c51a
added blackbox testing for locktest
...
(This used to be commit af6484f78d
)
2008-02-15 14:27:06 +11:00
Andrew Tridgell
be8a09b138
add some info on running tests
...
(This used to be commit b6ba0afc14
)
2008-02-15 14:11:11 +11:00
Jelmer Vernooij
08e3f99f14
Initial work on a test for samba.tests.samdb
...
(This used to be commit 8b33860954
)
2008-02-13 02:18:45 +01:00
Jelmer Vernooij
bbc567c831
Mark the reprovision test as known failing for now.
...
(This used to be commit 5d4396ae23
)
2008-02-12 01:52:07 +01:00
Jelmer Vernooij
f44dbc296e
Reintroduce samba3sam EJS test, at least until the Python test is ready.
...
(This used to be commit 13deb25214
)
2008-02-12 01:42:58 +01:00
Jelmer Vernooij
0f4c940919
Add blackbox test for provisioning code to make sure it can be run more than once in a row.
...
(This used to be commit 42466d960c
)
2008-02-12 01:39:31 +01:00
Jelmer Vernooij
4d31177407
Fix accidently introduced typo.
...
(This used to be commit 6c7aa271b1
)
2008-02-11 13:58:04 +01:00
Jelmer Vernooij
0a6dc21955
Remove tests for Samba 3 EJS code.
...
(This used to be commit 7aff2ddd8c
)
2008-02-11 13:38:07 +01:00
Jelmer Vernooij
ec106a1421
Merge branch 'v4-0-trivial' into v4-0-python
...
(This used to be commit b874f07175
)
2008-02-09 20:06:54 +01:00
Jelmer Vernooij
b5bfabf152
Move nmblookup blackbox test closer to the code it tests.
...
(This used to be commit 3f24136b56
)
2008-02-09 17:17:21 +01:00
Jelmer Vernooij
460ac1c585
Use mkinclude (makes the Makefile a bit shorter), use double-colon for phony makefile targets.
...
(This used to be commit ea7d389bcc
)
2008-02-09 16:05:55 +01:00
Andrew Bartlett
6e965b139d
Make the provision test more real, use a foo.example.com for the realm.
...
Andrew Bartlett
(This used to be commit b7ea06850a
)
2008-02-09 14:01:37 +11:00
Jelmer Vernooij
bebd139db0
Put ldb test output in prefix.
...
(This used to be commit af283cd787
)
2008-02-08 00:19:50 +01:00
Jelmer Vernooij
51da6908df
Override KRB5CCNAME so existing Kerberos tickets in the users environment don't get overwritten.
...
(This used to be commit 5e740c0dfb
)
2008-02-07 23:47:18 +01:00
Jelmer Vernooij
4075a2ba98
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-python
...
(This used to be commit 2f57e25f8f
)
2008-01-22 16:39:56 +01:00
Jelmer Vernooij
797e8db3ba
selftest: Use "require" rather than "use" keyword so .pm files don't have to be provided until used.
...
(This used to be commit 95872d7db8
)
2008-01-16 21:30:58 +01:00
Jelmer Vernooij
a760146e73
selftest: Add some more documentation. Rename env => target to avoid confusion.
...
(This used to be commit 50b8a16d0c
)
2008-01-16 17:58:50 +01:00
Andrew Bartlett
e02e67ec36
Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-abartlet
...
(This used to be commit c4aba5ad01
)
2008-01-16 09:26:24 +11:00
Andrew Bartlett
9ff3986226
Start generating a configuration for the refint overlay. This
...
OpenLDAP module should ensure that after a subtree rename, attributes
are still consistant.
Andrew Bartlett
(This used to be commit f7f765c29b
)
2008-01-16 09:26:14 +11:00
Andrew Bartlett
c92a1d0752
Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
...
(This used to be commit d8a805a254
)
2008-01-16 09:00:04 +11:00
Andrew Bartlett
955b110818
Make the Fedora DS LDAP backend 'aci' actually work, with better quoting.
...
Andrew Bartlett
(This used to be commit b0657e0681
)
2008-01-16 08:59:13 +11:00
Jelmer Vernooij
001b2435f0
python: Add simple test for samr python code.
...
(This used to be commit 0a039fabcb
)
2008-01-14 19:53:08 +01:00
Jelmer Vernooij
7dd468ff2e
python: Fix python code for winreg, add test.
...
(This used to be commit bd3e6c41c4
)
2008-01-14 19:53:07 +01:00
Jelmer Vernooij
db4ee4cce5
python: Fix rpcecho tests.
...
(This used to be commit ebb78ea423
)
2008-01-14 19:53:06 +01:00
Jelmer Vernooij
1f54cb1af9
python: Add simple tests for the DCE/RPC echo interface.
...
(This used to be commit 8523740796
)
2008-01-14 19:53:05 +01:00
Jelmer Vernooij
da56ee66b0
python/ldap: Get further.
...
(This used to be commit 0c27eabbc4
)
2008-01-11 03:27:27 +01:00
Jelmer Vernooij
b344508ca3
python: More work getting the LDAP test to compile again.
...
(This used to be commit d7a3f9612c
)
2008-01-11 03:27:27 +01:00
Jelmer Vernooij
410e8f8681
python: Specify right arguments for the ldap test, fix some more calls.
...
(This used to be commit 74209fa6b0
)
2008-01-11 03:27:26 +01:00
Jelmer Vernooij
24da297469
selftest: Use Python provision for Samba 4 by default.
...
(This used to be commit 12cf633f7f
)
2008-01-10 17:48:52 +01:00
Jelmer Vernooij
58788694cd
r26673: selftest: Document the purpose and output format of samba4_tests.sh.
...
(This used to be commit 93b80f1ceb
)
2008-01-05 13:36:01 -06:00
Jelmer Vernooij
01c7909192
r26671: rap: Convert the RAP tests to the new torture API and run them by default.
...
We don't have a server-side implementation of netservergetinfo yet, so it is
marked as known failing.
(This used to be commit 33c5982ed9
)
2008-01-05 13:06:02 -06:00
Jelmer Vernooij
57d62f4361
r26625: Wrap some more events functions for Python and add a trivial test for it.
...
(This used to be commit 7873666a95
)
2007-12-28 11:03:01 -06:00
Andrew Bartlett
6ac5221680
r26609: Try a few more variatations to get the selftest to run against
...
OpenLDAP.
Andrew Bartlett
(This used to be commit ff77bd62ce
)
2007-12-26 22:21:01 -06:00
Jelmer Vernooij
3a3633be85
r26601: Remove existing files to prevent errors.
...
(This used to be commit 9427757ae2
)
2007-12-26 11:57:09 -06:00