1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

73 Commits

Author SHA1 Message Date
Andrew Bartlett
f9acf770e9 lib/util/charset: remove charset module loading
Now that the 'table' modules are gone, there is no reason for there to
be charset modules at all.  This builds the macosxfs and weird modules
into the binary at the appropriate times, and changes the tests to
test instead the difference between the remaining internal handlers
and iconv().

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Sep 20 06:27:06 CEST 2011 on sn-devel-104
2011-09-20 06:27:06 +02:00
Andrew Bartlett
2085dffddb lib/util/charset Run charset sets with and without the system iconv
We need to know that we can load the samba-provided modules, and that
they are correct.  However, we must mark a number of tests as
knownfail due to errors in our internal iconv modules.

Andrew Bartlett
2011-09-10 14:18:06 +02:00
Volker Lendecke
f7f6992a20 s4: Mark the winsreplication test as knownfail
This continues to break my autobuild even if I just check something into
source3.

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Aug 29 21:04:06 CEST 2011 on sn-devel-104
2011-08-29 21:04:06 +02:00
Andrew Tridgell
60b6b338f7 s4-dbcheck: enable dbcheck now that backlinks are fixed 2011-08-09 11:56:23 +02:00
Andrew Tridgell
6e82e20831 dbcheck: mark the dbcheck as known-fail
this will fail till we correctly update backlinks to deleted objects
2011-07-21 11:44:38 +10:00
Stefan Metzmacher
67b2e2d679 s4:selftest: use wildcards for ntvfs.cifs tests in knownfail and skip files
metze
2011-06-24 19:09:29 +02:00
Andrew Bartlett
79b1a1092d selftest: Run tests for libsmbclient and libnetapi
This adds the known failure for the one test (netbios browsing) that
fails.

Andrew Bartlett
2011-06-21 11:29:39 +10:00
Volker Lendecke
2ce68d93f3 Make samba4.drs.fsmo.python knownfail
This frequently blocks autobuild for me, this time with

Testing for rid role transfer from localdc.samba.example.com to localvampiredc.samba.example.com
ERROR: Failed to initiate transfer of 'rid' role: LDAP error 52 LDAP_UNAVAILABLE -  <Failed FSMO transfer: NT_STATUS_IO_TIMEOUT> <>
UNEXPECTED(failure): samba4.drs.fsmo.python(vampire_dc).fsmo.DrsFsmoTestCase.test_RIDMasterTransfer
REASON: _StringException: _StringException: Content-Type: text/x-traceback;charset=utf8,language=python
traceback
36E
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/testtools/runtest.py", line 128, in _run_user
    return fn(*args)
  File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 368, in _run_test_method
    testMethod()
  File "/memdisk/vlendec/a/b5798/samba4/source4/torture/drs/python/fsmo.py", line 125, in test_RIDMasterTransfer
    self._role_transfer(role="rid", role_dn=self.rid_dn)
  File "/memdisk/vlendec/a/b5798/samba4/source4/torture/drs/python/fsmo.py", line 97, in _role_transfer
    self._net_fsmo_role_transfer(DC=self.dnsname_dc2, role=role)
  File "/memdisk/vlendec/a/b5798/samba4/source4/torture/drs/python/fsmo.py", line 68, in _net_fsmo_role_transfer
    self.assertEquals(ret, 0, "Transferring role %s to %s has failed!" % (role, DC))
AssertionError: Transferring role rid to localvampiredc.samba.example.com has failed!
0

NT_STATUS_IO_TIMEOUT -- does that mean that sn.samba.org is not powerful enough
to run this test successfully?

Volker

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat Jun  4 15:24:20 CEST 2011 on sn-devel-104
2011-06-04 15:24:20 +02:00
Andrew Bartlett
e7cf95c541 selftest: Make knowfail/skip files consistent, always use ^prefix
Except in one case (where we mark printing tests as knownfail), this
has all our regular expressions start with ^, which ensures we don't
accidentially mix up the samba3/samba4 prefix here.

Because of the particular values in these files at the moment, this
should not change the set of tests, but it will help to ensure that
future edits follow the correct pattern.

Andrew Bartlett
2011-05-25 09:15:18 +10:00
Matthieu Patou
c2fa348831 s4-dsdb: add unit tests for dirsync control
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-05-21 16:25:19 +04:00
Günther Deschner
74d82faa78 s4-smbtorture: add test_netremotetod.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon May 16 12:45:52 CEST 2011 on sn-devel-104
2011-05-16 12:45:52 +02:00
Günther Deschner
de5cec48a4 s4-smbtorture: add netsessiongetinfo() test.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Mar 18 02:11:38 CET 2011 on sn-devel-104
2011-03-18 02:11:38 +01:00
Günther Deschner
bd675e0b15 s4-smbtorture: add netsessionenum rap torture test.
Guenther
2011-03-02 12:12:32 +01:00
Jeremy Allison
e18b8c0730 Add knownfail for s4 for the new oplock test.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Mon Jan 31 22:55:00 CET 2011 on sn-devel-104
2011-01-31 22:55:00 +01:00
Andreas Schneider
6cb2fb1c4a s4-selftest: Mark epmapper as knownfail. 2011-01-27 14:41:40 +01:00
Stefan Metzmacher
039dd96be2 s4:selftest: mark samba4.nbt.winsreplication.owned as knownfail
This sometimes fails on a busy server.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Jan 20 09:29:12 CET 2011 on sn-devel-104
2011-01-20 09:29:12 +01:00
Andrew Bartlett
df4752e3ab s4-selftest Remove knownfail for tokengroups test
The problem with this test (use of None rather than "" has been fixed)

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Wed Jan 19 23:56:31 CET 2011 on sn-devel-104
2011-01-19 23:56:31 +01:00
Stefan Metzmacher
448388e609 s4:selftest/skip: add samba4.tokengroups.python
This fails randomly like this with an error (not a failure):

[651/695 in 27m37s] samba4.tokengroups.python(dc)
running client gensec_update
UNEXPECTED(error): samba4.tokengroups.python(dc).__main__.TokenTest.test_pac_groups
REASON: _StringException: _StringException: Content-Type: text/x-traceback;charset=utf8,language=python
traceback
1E2
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/testtools/runtest.py", line 128, in _run_user
    return fn(*args)
  File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 368, in _run_test_method
    testMethod()
  File "/memdisk/tridge/flakey/b2413/source4/source4/dsdb/tests/python/token_group.py", line 142, in test_pac_groups
    (client_finished, client_to_server) = gensec_client.update(server_to_client)
TypeError: expected a string
0

FAILED (0 failures and 1 errors in 0 testsuites)

A summary with detailed information can be found in:
  ./st/summary
test: running (/usr/bin/perl /memdisk/tridge/flakey/b2413/source4/source4/../selftest/selftest.pl --prefix=./st --builddir=. --srcdir=. --exclude=./selftest/skip --testlist="/usr/bin/python ./selftest/tests.py|"  --exclude=./selftest/slow --socket-wrapper  && touch ./st/st_done) | /usr/bin/python -u ../selftest/filter-subunit --expected-failures=./selftest/knownfail --fail-immediately | tee ./st/subunit | /usr/bin/python -u ../selftest/format-subunit --prefix=./st --immediate
ERROR: test failed with exit code 1

metze
2011-01-19 19:37:03 +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
Nadezhda Ivanova
5bc2b8f0a4 s4-ldb: Added the correct extended check for read access to nTSecurityDescriptor
It does not depend on READ_PROPERTY, but on SECURITY_PRIVILEGE and READ_CONTROL

Autobuild-User: Nadezhda Ivanova <nivanova@samba.org>
Autobuild-Date: Wed Oct 27 13:18:50 UTC 2010 on sn-devel-104
2010-10-27 13:18:50 +00:00
Günther Deschner
9bcb88ff25 s4-selftest: move spoolss to skip list.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Oct  5 13:51:28 UTC 2010 on sn-devel-104
2010-10-05 13:51:28 +00:00
Nadezhda Ivanova
93ba17285d s4-tests: Added tests for search checks on attributes
The ACL reach tests are in the knowfail because aclread module is not
enabled by default
2010-09-26 15:36:09 -07:00
Jelmer Vernooij
a171816672 selftest: Add prefix on a higher level, so it can be more easily
excluded.
2010-09-22 22:29:08 -07:00
Kamen Mazdrashki
a46ead0724 s4-test: Enable drs.rpc.msdsintid test case - it should be passing now 2010-08-19 03:34:04 +03:00
Kamen Mazdrashki
887b7306a7 s4-test: Add drs.rpc.msDSIntId test to knownfail tests 2010-08-15 01:02:33 +03:00
Günther Deschner
b31ff0537a s4-smbtorture: add netr_GetForestTrustInformation test to RPC-NETLOGON.
Guenther
2010-06-29 17:13:01 +02:00
Matthias Dieter Wallnöfer
666b611182 s4:selftest - also "rpc.samr.users.privileges" does work now 2010-06-28 14:51:08 +02:00
Matthias Dieter Wallnöfer
d01e36e647 s4:knownfail - "pwdLastSet" test does work now 2010-06-28 14:51:08 +02:00
Andrew Bartlett
982f688c02 s4:selftest Remove becomedc tests from knownfail, these should now pass
Signed-off-by: Kamen Mazdrashki <kamenim@samba.org>
2010-06-15 10:51:35 +10:00
Matthias Dieter Wallnöfer
4497080173 s4:knownfail - remove tests which should pass
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-04-27 15:24:43 +10:00
Stefan Metzmacher
e1faff9071 s4:selftest: mark some smb2.compound tests as knownfail
metze
2010-04-09 16:28:31 +02:00
Jelmer Vernooij
beb630b690 s4-selftest: Fix xfail for base.delete. 2010-03-31 02:20:08 +02:00
Jelmer Vernooij
12e34eafb8 selftest: Use absolute tests names in knownfail. 2010-03-31 02:20:08 +02:00
Günther Deschner
a52b3dfb26 s4-selftest: skip RPC-DFS for s4 entirely.
Guenther
2010-03-20 02:56:20 +01:00
Stefan Metzmacher
d4b8fb15b8 s4:selftest: move samba4.net.api.become.dc from skip to knownfail
Someone should fix the remaining bug, as this test is expected to work.

metze
2010-03-11 13:34:31 +01:00
Michael Adam
45465cb7da s4:selftest: add the samr-passwords-lockout test to knownfail
This is not implemented completely yet.
Needs fixing in the future.

Michael
2010-01-20 17:32:58 +01:00
Kai Blin
791a2df656 s4 selftest: Fix and reenable WINBIND-STRUCT.NETBIOS_NAME test 2010-01-16 12:38:12 +01:00
Kai Blin
5c016ad88e s4 selftest: Ignore more winbind test known to fail 2010-01-15 02:09:05 +01:00
Günther Deschner
3b82254903 s4-selftest: RPC-SAMR-PASSWORDS-BADPWDCOUNT fails against s4.
Seems like account lockout is not implemented at all yet.

Guenther
2010-01-12 12:34:55 +01:00
Tim Prouty
1bf825b6f8 s4 torture: Cleanup RAW-ACLS a bit
Don't check SEC_DESC_DACL_AUTO_INHERITED right now
Disable RAW-ACLS-INHERITFLAGS for the short term
Update samba4's knownfail accordingly
2009-12-07 17:59:28 -08:00
Andrew Tridgell
978dc61b56 s4-selftest: don't consider spoolss failures to be an error in s4 2009-12-08 12:39:11 +11:00
Tim Prouty
105eb95a57 s4 quicktest: exclude raw-streams from quicktest until bug is fixed 2009-12-07 16:54:17 -08:00
Steven Danneman
47f5aac39d s4/torture: add test for zero byte read contention with byte range locks 2009-12-07 16:10:25 -08:00
Tim Prouty
5c857768d1 s4 selftest/quicktest: Update known failures for the sfileinfo and oplock changes
Two new samba4 bugs have been filed for the two corresponding known
failures.  For the short term raw.sfileinfo had to be removed from
quicktest.  It is no longer an individual test, but a test-suite and
quicktest can only run top level tests.
2009-12-03 18:54:52 -08:00
Steven Danneman
76be0f6a11 s4/selftest: knownfail some locking tests until bugs are fixed 2009-12-02 17:55:34 -08:00
Andrew Tridgell
d5240822a5 s4-selftest: s4 passes all the SMB2-LOCK tests now 2009-11-27 19:42:11 +11:00
Andrew Tridgell
af087f98ab s4-selftest: s4 passes this test now 2009-11-27 19:42:10 +11:00
Andrew Tridgell
f6ecb4efb0 s4-torture: fixed expected error codes for s4 in SMB2-LOCK
I think the error/success codes returned by windows for these tests
are quite bogus. The ones s4 gives are much more reasonable. The
locking ones returning NT_STATUS_SUCCESS could lead to data loss, as
an application thinks it has a file locked correctly when it fact it
doesn't, so it could do an unsafe modify.
2009-11-27 16:05:06 +11:00
Stefan Metzmacher
fb685d3a8a s4:selftest: mark samba4.smb2.lock.*.VALID-REQUEST as known failure
metze
2009-11-18 08:24:13 +01:00
Stefan Metzmacher
b4c916c492 s4:selftest: add "rpc.netlogon.*.GetDomainInfo"
We need to expand the test to work against w2k8 and w2k8r2...

metze
2009-11-18 06:50:23 +01:00