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

157 Commits

Author SHA1 Message Date
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
Stefan Metzmacher
259c1d73bf selftest: make sure we don't buffer any output
metze
2009-11-17 09:00:46 +01:00
Stefan Metzmacher
36d0b1fa0d selftest: Fix unexpected failure handline in Subunit/Filter.pm
We should only mark the testsuite as expected failure,
if there were more than 1 expected failure, but 0 unexpected
failures.

Before we ignored unexpected failures if there was an expected failure
within a testsuite.

metze
2009-11-17 09:00:46 +01:00
Endi S. Dewata
e035433bab s4 - SID allocation using FDS DNA plugin 2009-11-02 16:36:54 +11:00
Andrew Tridgell
0fca2b078c s4-selftest: lower some of the timeouts during make test
This speeds up some of the delay based tests by a lot. There is no
need to have long delays during testing.
2009-10-23 15:38:54 +11:00
Andrew Tridgell
606ff46447 selftest: make python run unbuffered
This makes some output in make test easier to follow
2009-10-22 12:47:54 +11:00
Andrew Tridgell
8d0959b2b1 selftest: try to get the valgrind errors showing again in the build farm 2009-10-19 22:58:23 +11:00
Andrew Tridgell
729c4b3eee s4-selftest: fixed 'make testenv'
The 'TERM' variable is used for terminal type, so we can't use it for
what terminal to use.
2009-10-19 21:37:20 +11:00
Andrew Tridgell
38fbfdca4d Revert "selftest: fixed filter to know about a "error" result"
This reverts commit 1de7e43fb4.

This is much more delicate than it seems
2009-10-19 14:17:02 +11:00
Andrew Tridgell
1de7e43fb4 selftest: fixed filter to know about a "error" result
This is what caused some of the python tests to not match knownfail
entries
2009-10-19 13:51:17 +11:00
Andrew Kroeger
5afa115f2a selftest: Account for 0-based months in date parsing and printing.
All:

Please find attached 2 patches to correct date/time parsing and output
in the Subunit processing.  The first patch corrects the logic to
account for months being 0-based.  The second corrects the time
formatting, as it is dealing with local, not "Z"ulu (UTC) time.

Sincerely,
Andrew Kroeger

>From 3cf81eea1309084a973359c7f6a2375d5d20a3f0 Mon Sep 17 00:00:00 2001
From: Andrew Kroeger <andrew@id10ts.net>
Date: Fri, 4 Sep 2009 01:24:00 -0500
Subject: [PATCH] selftest: Account for 0-based months in date parsing and printing.
2009-09-05 10:06:29 +10:00
Andrew Bartlett
5255ba3c4f s4:selftest Confirm that there isn't a listener on the ldapi:// socket
This should help debug problems with 'make test' of the LDAP backend,
if a stray listener is still around.

Andrew Bartlett
2009-08-17 09:51:00 +10:00
Andrew Bartlett
f87811f6b3 s4:provision Rework provision-backend into provision
This removes a *lot* of duplicated code and the cause of much
administrator frustration.  We now handle starting and stopping the
slapd (at least for the provision), and ensure that there is only one
'right' way to configure the OpenLDAP and Fedora DS backend

We now run OpenLDAP in 'cn=config' mode for online configuration.

To test what was the provision-backend code, a new --ldap-dryrun-mode
option has been added to provision.  It quits the provision just
before it would start the LDAP binaries

Andrew Bartlett
2009-08-17 09:50:58 +10:00