summaryrefslogtreecommitdiffstats
path: root/selftest/tests
Commit message (Collapse)AuthorAgeFilesLines
* Use samba TestCase so we get all compatibility functions on Python < 2.7.Jelmer Vernooij2015-03-063-3/+3
| | | | | | Change-Id: Iba87e3c8fa9331c4d5438ab60a8385379da634d7 Signed-Off-By: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* Use Samba TestCase class, as the python 2.6 one doesn't have assertIs, ↵Jelmer Vernooij2015-03-062-2/+2
| | | | | | | | assertIsInstance or addCleanup. Change-Id: I3daeffade0dac9795f61f91ee0da35fee0143a38 Signed-Off-By: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* Use Samba-only subunit module in selftest/tests/.Jelmer Vernooij2015-03-061-7/+10
| | | | | | Change-Id: I48c61f975c1fa49f6e244ad39dd720fe507db45b Signed-off-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* selftest/tests/*.py: remove use of testtools.Jelmer Vernooij2015-03-066-7/+5
| | | | | | Change-Id: Ia692c6b3037b7d867310c3793980f9f953d31680 Signed-Off-By: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* selftest: Add separate command line for listing tests, allowing us of ↵Jelmer Vernooij2014-11-301-3/+3
| | | | | | | | subunit-filter (which doesn't support subunit v2). Change-Id: Icb877214a422c63fd38ef92425c7b4fe7ee19ad5 Signed-Off-By: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* selftest: Drop support for TESTSUITE-IDLIST, and remove its last user.Jelmer Vernooij2014-11-301-2/+2
| | | | | | Change-Id: Ic616676bb770fa4769195d73c4309915646caae0 Signed-Off-By: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* selftest: fix use of a non-existent word (existant)Michael Adam2012-06-121-1/+1
|
* selftest.py: Add get_interface.Jelmer Vernooij2012-03-271-4/+11
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Mar 27 00:32:48 CEST 2012 on sn-devel-104
* selftest.py: Add cleanup_pid.Jelmer Vernooij2012-03-241-0/+4
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Mar 24 04:52:59 CET 2012 on sn-devel-104
* selftest.py: Add write_krb5_conf.Jelmer Vernooij2012-03-241-0/+39
|
* selftest.py: Add mk_realms_stanza function.Jelmer Vernooij2012-03-241-3/+31
|
* selftest.py: Add selftest.target.samba with bindir_path function.Jelmer Vernooij2012-03-242-1/+39
|
* selftest.py: Move some infrastructure for running commands to selftest.run, ↵Jelmer Vernooij2012-03-111-0/+93
| | | | with tests.
* selftest.run: Factor out read_testlist_file and open_file_or_pipe.Jelmer Vernooij2012-03-051-0/+46
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Mar 5 05:42:19 CET 2012 on sn-devel-104
* selftest.run: Factor out exported_envvars_str.Jelmer Vernooij2012-03-051-0/+15
|
* selftest.run: Factor out expand_command_run.Jelmer Vernooij2012-03-051-0/+29
|
* selftest.run: Factor out expand_command_list.Jelmer Vernooij2012-03-051-1/+13
|
* selftest: Factor out expand_environment_strings.Jelmer Vernooij2012-03-052-1/+39
|
* selftest.py: Use testtools TestCase class.Jelmer Vernooij2012-03-044-12/+15
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Mar 4 19:38:25 CET 2012 on sn-devel-104
* selftest.target: Add NoneTarget.Jelmer Vernooij2012-03-041-0/+13
|
* selftest.testlist: Add manager for restricted test lists.Jelmer Vernooij2012-03-041-0/+29
|
* selftest.testlist: Add read_testlist.Jelmer Vernooij2012-03-041-0/+18
|
* selftest.testlist: Add read_test_regexes.Jelmer Vernooij2012-03-041-0/+19
|
* selftest: Add testlist management module.Jelmer Vernooij2012-03-042-1/+37
|
* selftest: Add tests for trying to reuse an environment that has gone down.Jelmer Vernooij2012-03-041-1/+7
|
* selftest: Add tests for NoneEnvironment.Jelmer Vernooij2012-03-041-0/+17
|
* selftest.target: Test that environments are reused.Jelmer Vernooij2012-03-041-0/+5
|
* selftest.target: Add tests for get_running_env.Jelmer Vernooij2012-03-041-0/+7
|
* selftest.target: Add tests for getlog_env.Jelmer Vernooij2012-03-041-0/+8
|
* selftest.target: Add tests for check.Jelmer Vernooij2012-03-041-0/+8
|
* selftest.target: Add tests for setup.Jelmer Vernooij2012-03-041-4/+9
|
* selftest: Add base classes for Target/Environment and their management.Jelmer Vernooij2012-03-042-1/+61
|
* selftest.socket_wrapper: Add basic unit tests.Jelmer Vernooij2012-03-042-3/+16
|
* Add test infrastructure for selftest.Jelmer Vernooij2012-03-042-0/+52