summaryrefslogtreecommitdiff
path: root/source4/selftest
AgeCommit message (Collapse)AuthorFilesLines
2011-02-14s4:selftest: add tests with seal and sign for backupkeyMatthieu Patou1-0/+4
We need to specify sign and seal as the protocol operate really only on sealed protected connections, in other case we are just checking that the server returns something like unwilling to perform due to weak security. Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Feb 14 01:48:39 CET 2011 on sn-devel-104
2011-02-14s4: Renable samba4.rpc.backupkeyStefan Metzmacher1-1/+0
This reverts commit 07fd397be7e30849f2c8452154edbee7dceccfe1. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-02-10s4-build: need EXPAND_VARIABLES() for terminal in make testAndrew Tridgell1-1/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Feb 10 07:35:26 CET 2011 on sn-devel-104
2011-02-09s4/tests: Implement a blackbox test for 'samba-tool drs' commandKamen Mazdrashki1-0/+1
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Wed Feb 9 11:45:30 CET 2011 on sn-devel-104
2011-02-09s4-selftest Fix valgrind and gdb options for top level buildAndrew Bartlett1-2/+2
Andrew Bartlett
2011-02-07s4-test: fixed samba4.policy.python test for top level buildAndrew Tridgell1-1/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-07s4-test: fixed hard coded test paths for top level buildAndrew Tridgell1-3/+5
this fixes the various test plans that hard coded incorrect paths for a top level build Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-07s4-test: allow make test to work from top level directoryAndrew Tridgell2-15/+24
this fixes the path assumptions in Samba4 make test to allow it to work from the top level directory. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-05s4:selftest: skip samba4.rpc.backupkey for nowStefan Metzmacher1-0/+1
metze
2011-01-31Add knownfail for s4 for the new oplock test.Jeremy Allison1-0/+1
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Jan 31 22:55:00 CET 2011 on sn-devel-104
2011-01-27s4-selftest: Mark epmapper as knownfail.Andreas Schneider1-2/+1
2011-01-20s4:selftest: mark samba4.nbt.winsreplication.owned as knownfailStefan Metzmacher1-0/+1
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-20s4:selftest/skip: remove samba4.tokengroups.pythonStefan Metzmacher1-1/+0
metze
2011-01-19s4-selftest Remove knownfail for tokengroups testAndrew Bartlett1-1/+0
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-19s4:selftest/skip: add samba4.tokengroups.pythonStefan Metzmacher2-1/+2
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-19s4-dsdb Add PAC validation test to tokengroups test.Andrew Bartlett1-1/+1
This confirms that the groups obtained from a Kerberos PAC match those that a manual search of a target LDAP server would reveal. This should allow mixing of a KDC specified by krb5.conf to test Samba or Windows alternatly. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Jan 19 13:13:48 CET 2011 on sn-devel-104
2011-01-18s4-gensec Extend python bindings for GENSEC and the associated testAndrew Bartlett1-1/+1
This now tests a real GENSEC exchange, including wrap and unwrap, using GSSAPI. Therefore, it now needs to access a KDC. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Jan 18 11:41:26 CET 2011 on sn-devel-104
2011-01-14s4-test: added a tokengroups testAndrew Tridgell1-0/+1
this tests that the remote tokenGroups match the internally calculated ones Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-12-27s4:selftest: selftest.pl already sets TEST_DATA_PREFIXStefan Metzmacher1-3/+2
metze
2010-12-11selftest-s4: Support listing smbtorture4 tests.Jelmer Vernooij1-35/+46
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 11 19:32:07 CET 2010 on sn-devel-104
2010-12-11s4:selftest: use correct name for the test "ECHO-UDP" => "echo.udp"Stefan Metzmacher1-1/+1
I wonder how commit 35fbc7bbda5851f7172538f79fc79be201f1d521 (s4-smbtorture: Make test names lowercase and dot-separated) ever passed make test. metze
2010-12-11s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij2-87/+82
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-10selftest: Make sure system subunit.run has TestProgram.Jelmer Vernooij1-1/+1
2010-12-10smbtorture: Rename --list to --list-suites, add stub --list.Jelmer Vernooij1-1/+1
2010-12-10s4-selftest: Add convenience function for running testsuites usingJelmer Vernooij1-9/+17
subunitrun.
2010-12-10selftest: Allow discovering tests in pure python testsuites.Jelmer Vernooij1-2/+2
2010-12-10selftest: add --list option.Jelmer Vernooij1-1/+5
2010-12-09s4 libcli: Add libcli_echo lib and torture testKai Blin1-0/+2
Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Thu Dec 9 23:57:03 CET 2010 on sn-devel-104
2010-11-28samba.hostconfig: Move samba.shares into samba.hostconfig.Jelmer Vernooij1-1/+1
2010-11-28s4-selftest: Ignore broken pipe error from grep.Jelmer Vernooij1-1/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Nov 28 05:45:05 CET 2010 on sn-devel-104
2010-11-27blackbox.ldb: Support using system ldbsearch.Jelmer Vernooij1-1/+3
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Nov 27 04:32:11 CET 2010 on sn-devel-104
2010-11-23s4-tests: Make all DRS python tests to start with samba4.drs.* prefixKamen Mazdrashki1-3/+3
2010-11-21selftest: When running on the buildfarm, pipe everything throughJelmer Vernooij1-0/+2
filter-subunit for the exit code. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Nov 21 23:56:23 CET 2010 on sn-devel-104
2010-11-21selftest: fix tap2subunit detection on system with tap2subunit but not ↵Matthieu Patou1-1/+6
correct subunit libs Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Nov 21 16:21:54 CET 2010 on sn-devel-104
2010-11-11s4-tests: Make repl_schema.py test part of Samba4 test suiteKamen Mazdrashki1-0/+1
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Thu Nov 11 19:38:18 UTC 2010 on sn-devel-104
2010-11-11s4/test: Add bind.py to make testAnatoliy Atanasov1-0/+1
bind.py is a place to have tests for ldb binding with different credentials. For starter we have a simple bind with machine account.
2010-11-11s4:selftest/tests.py - skip the "passwords.py" suite on Windows 2000 domain ↵Matthias Dieter Wallnöfer1-1/+5
function level The "userPassword" password change functionality isn't available and so it causes big parts of the testsuite to fail. On the other hand we've basic tests in "acl.py" and indirectly also over SAMR and kpasswd so I propose to simply skip it.
2010-11-09s4-test: make sure the selftest prefix existsAndrew Tridgell1-0/+3
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Nov 9 00:05:22 UTC 2010 on sn-devel-104
2010-11-05waf: Put private libraries in a separate directory when building.Jelmer Vernooij1-0/+1
Thanks to Tridge for pointing out what exactly I had to change. :-)
2010-11-05selftest: Allow some tests to output empty subunit data.Jelmer Vernooij1-1/+1
2010-11-04urgent_replication: forbid empty subunit output.Jelmer Vernooij1-1/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Nov 4 12:13:47 UTC 2010 on sn-devel-104
2010-11-04selftest: Allow some tests to output empty subunit data.Jelmer Vernooij1-7/+12
2010-11-04s4-test: fixed quoting in deletetest.pyAndrew Tridgell1-1/+1
2010-11-03selftest/tests.py: Fix typos.Jelmer Vernooij1-2/+2
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Nov 3 19:55:55 UTC 2010 on sn-devel-104
2010-11-03s4-test: if using a system version of ldb, override the ldb modules pathAndrew Tridgell1-0/+5
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Nov 3 04:13:22 UTC 2010 on sn-devel-104
2010-11-02s4-selftest Run RPC-PAC against all the DC environments.Andrew Bartlett1-1/+3
This is important, as it will validate that the PAC handling is correct with the different encryption types. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Nov 2 11:45:50 UTC 2010 on sn-devel-104
2010-10-31s4: Remove the old perl/m4/make/mk-based build system.Jelmer Vernooij1-124/+0
The new waf-based build system now has all the same functionality, and the old build system has been broken for quite some time. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104
2010-10-28unit tests: use skip file to exclude smb2.dir instead of hackMatthieu Patou2-1/+2
Thanks metze for pointing this. Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Thu Oct 28 09:39:11 UTC 2010 on sn-devel-104
2010-10-28s4 net: rename to samba-tool in order to not clash with s3 netKai Blin2-2/+2
Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Thu Oct 28 07:25:16 UTC 2010 on sn-devel-104
2010-10-27s4-ldb: Added the correct extended check for read access to nTSecurityDescriptorNadezhda Ivanova1-0/+1
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