Jelmer Vernooij
e39ed552b6
selftest: Remove python2.4-isms
2010-04-06 04:01:54 +02:00
Jelmer Vernooij
74f36df4b3
selftest: Update sys.path before attempting to import external modules.
2010-03-31 04:52:13 +02:00
Jelmer Vernooij
c6b1553a2b
selftest: Make sure format-subunit and filter-subunit can find testtools/subunit.
2010-03-31 04:51:05 +02:00
Jelmer Vernooij
62ed8a68cd
format-subunit: Hide reason if it is None.
2010-03-31 03:34:50 +02:00
Jelmer Vernooij
49d82aa772
format-subunit: Don't show reason at all if it is None.
2010-03-31 03:32:23 +02:00
Jelmer Vernooij
31094b0e8c
smbtorture: Report number of available tests in a testsuite using subunit.
2010-03-31 02:57:47 +02:00
Jelmer Vernooij
9fe4b01ca6
selftest: Use boolean types in Python.
2010-03-31 02:20:09 +02:00
Jelmer Vernooij
6c299d28b5
selftest: Use standard subunit command for progress reporting.
2010-03-31 02:20:08 +02:00
Jelmer Vernooij
7f1360db51
selftest: Support parsing progress in format-subunit/filter-subunit.
2010-03-31 02:20:08 +02:00
Jelmer Vernooij
b2eb609d4d
selftest: Use standard subunit commands for progress reporting.
2010-03-31 02:20:08 +02:00
Jelmer Vernooij
08161e093d
selftest: Convert filter-subunit to Python so the subunit Python module
...
can be used later.
2010-03-31 02:20:07 +02:00
Jelmer Vernooij
ae5381d34c
format-subunit: Avoid printing backtrace on Ctrl-C.
2010-03-31 02:20:07 +02:00
Andrew Tridgell
21499a148e
selftest: reason may be None
...
jelmer, please check
2010-03-30 16:41:54 +11:00
Jelmer Vernooij
0cdc021ba4
selftest: Remove diff-subunit - it's included in subunit and not necessary for normal operation.
2010-03-30 01:08:20 +02:00
Jelmer Vernooij
c108a2e74e
format-subunit: Improve formatting, simplify code.
2010-03-30 01:08:20 +02:00
Jelmer Vernooij
ef3fb75261
selftest: Replace perl subunit formatter with python subunit formatter,
...
so we can leverage the work happening in python-subunit.
2010-03-30 01:08:20 +02:00
Jelmer Vernooij
0c78368a31
selftest: Convert format-subunit to Python.
2010-03-30 01:08:20 +02:00
Andreas Schneider
61106c0568
s3-selftest: Don't log to stdout, use logfiles instead.
...
The logging to the logfiles is more verbose and they can be found in
./st/dc/logs. If you still want to log to stdout start selftest with:
SMBD_OPTIONS="-S -d10" make selftest
2010-03-29 11:35:07 +02:00
Jelmer Vernooij
f4e314457f
selftest: Update locations in README.
2010-03-28 22:42:11 +02:00
Jelmer Vernooij
45f389b253
selftest: Remove unused BuildFarm output file (now using subunit)
2010-03-28 21:56:09 +02:00
Jelmer Vernooij
235cd3e5c4
selftest: Remove html subunit formatter; it's too simple and really belongs in subunit or testrepository upstream.
2010-03-28 21:46:58 +02:00
Jelmer Vernooij
b607f99688
Remove extension from format-subunit.
2010-03-28 21:46:58 +02:00
Günther Deschner
d3a22fc62b
s3-selftest: set "lpq cache time = 0" in server configuration.
...
This fixes currently broken spoolss tests.
Guenther
2010-03-26 23:01:19 +01:00
Andrew Tridgell
525a4fb2c4
util: on FreeBSD true is in /usr/bin. Use execvp to find it
2010-03-26 19:03:22 +11:00
Günther Deschner
f84f653066
s3-selftest: move printing config to global section.
...
Guenther
2010-03-25 00:55:13 +01:00
Andrew Tridgell
429102e6bd
subunit: fixed reporting of unexpected failures
2010-03-20 16:50:27 +11:00
Andrew Tridgell
77b77e6ba1
subunit: keep total error and failure counts
2010-03-20 16:50:27 +11:00
Günther Deschner
20d73f768d
s3-selftest: rearrange uid/gid calculation to achieve correct membership.
...
Guenther
2010-03-19 10:23:39 +01:00
Günther Deschner
a949c70ed8
s3-selftest: fix Samba3.pm provisioning after uid/gid changes.
...
Guenther
2010-03-18 15:12:07 +01:00
Günther Deschner
05cad2ea2f
s3-selftest: make sure we do not have duplicate uids/gids in nsswrapper.
...
Also make sure we only add root user when needed, Jeremy please check.
Guenther
2010-03-18 15:08:27 +01:00
Günther Deschner
3efaf5e6ba
s3-selftest: setup initial eventlog infrastructure.
...
Guenther
2010-03-17 22:59:20 +01:00
Andrew Bartlett
ca67768b66
s4:selftest Add file based DNS resolver to selftest environment
...
This will in future allow us to test 'net vampire' in the test
environment, using the file based DNS lookups to avoid us hitting real
DNS.
2010-03-12 13:22:21 +11:00
Andrew Bartlett
8529b0afc1
selftest: Remove dns_host_file every time we start
2010-03-12 13:22:20 +11:00
Stefan Metzmacher
46b0cbe879
selftest: let the client also use the dns_host_file
...
metze
2010-03-11 13:31:39 +01:00
Endi S. Dewata
02533c9f1b
s4:provision - Use netbios name for FDS instance name.
...
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-03-02 14:07:01 +11:00
Stefan Metzmacher
f79ff9582f
selftest/gdb_backtrace: call "info locals" too
...
metze
2010-03-01 13:33:05 +01:00
Andrew Tridgell
394a7ceeeb
s4-selftest: disable rndc and dns update in build farm
2010-02-23 13:48:21 +01:00
Andrew Bartlett
a8b2088a0e
s4:selftest Add infrastructure for testing against an RPC proxy
...
This also changes the 'testenv' code to use a new environment 'all'
(we may wish to make other complex tests depend on this in future),
and exports more names in more namespaces.
Andrew Bartlett
2010-02-19 16:32:49 +11:00
Günther Deschner
34ad5da5cd
s3-selftest: include addprinter/deleteprinter command.
...
Guenther
2010-02-18 02:27:04 +01:00
Andrew Tridgell
1e1b081189
s4-selftest: don't run rndc reload in selftest
...
We don't want rndc calls on the build farm
2010-02-11 21:04:15 +11:00
Jelmer Vernooij
17d6f56646
selftest: Cope with 'multipart' support in subunit.
2010-01-21 17:16:19 +13:00
Matthieu Patou
3471d3677a
selftest-s4: set the posix:eadb at the global level
2010-01-21 07:11:21 +13:00
Günther Deschner
c971c10a63
s3-selftest: use absolute path when setting SOCKET_WRAPPER_DIR.
...
Guenther
2010-01-19 14:14:30 +01:00
Kai Blin
a4f21d5dc8
s3 selftest: Allow the enumeration of users and groups
...
This fixes the WINBINDD_GETPWENT test.
2010-01-14 15:18:34 +01:00
Kai Blin
7147c8453e
selftest: Print reason when a test fails unexpectedly
2010-01-13 14:51:58 +01:00
Andrew Tridgell
d0123e0a9a
s4-selftest: when a command fails show both normal and expanded command
...
It is sometimes hard to tell which varient of something like
$SMB_CONF_PATH or $USERNAME is being used in a test. By giving both
the expanded command ($command with environment variables expanded)
and non-expanded command it is easier to reproduce bugs outside the
test environment.
2010-01-11 09:55:28 +11:00
Andrew Tridgell
1eebdfdbe7
s4-test: fixed make test without having done make install
...
client.conf didn't specify "setup directory"
2010-01-11 09:38:00 +11:00
Stefan Metzmacher
61f5adb256
selftest: Subunit/Filter.pm only allow expected failures without errors
...
metze
2009-11-18 08:24:13 +01:00
Stefan Metzmacher
35775c24d3
selftest: ignore empty lines in knownfailures
...
metze
2009-11-18 06:50:24 +01:00
Stefan Metzmacher
053fa03cd7
selftest/output/plain.pm: report the testuite name on error
...
metze
2009-11-18 06:50:23 +01:00