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
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
c971c10a63
s3-selftest: use absolute path when setting SOCKET_WRAPPER_DIR.
...
Guenther
2010-01-19 14:14:30 +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
259c1d73bf
selftest: make sure we don't buffer any output
...
metze
2009-11-17 09:00:46 +01: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
2d7b457e26
fixed TESTS= in make test to allow multiple tests
...
Now you can do: make test TESTS="test1 test2" and it will run those
two tests, each matching tests using a case insensitive substring
match
2009-08-14 13:05:06 +10:00
Stefan Metzmacher
303c3b363b
selftest: configure "ncalrpc dir" for the client
...
Some torture tests will need this soon.
metze
2009-08-11 14:58:00 +02:00
Stefan Metzmacher
76d893b76e
selftest: fix typo lock => lockdir
...
metze
2009-08-11 14:58:00 +02:00
Jelmer Vernooij
57cd98de72
selftest: report time after testsuite, gives nicer output on the
...
buildfarm.
2009-06-17 21:37:49 +02:00
Jelmer Vernooij
84f2d3001d
selftest/subunit: Add diff command that can diff two subunit streams.
2009-06-11 19:59:59 +02:00
Jelmer Vernooij
d8a77a798b
selftest: Properly recognize xfail testsuites.
2009-06-11 19:59:59 +02:00
Jelmer Vernooij
ed61cc5419
selftest: Fix subunit formatting, fix years when filtering subunit
...
streams.
2009-06-11 19:59:59 +02:00
Jelmer Vernooij
68578d6374
selftest: Fix handling of testsuite, reintroduce progress indication.
2009-06-11 19:59:59 +02:00
Jelmer Vernooij
e979560c13
selftest: Remove unnecessary uses.
2009-06-11 19:59:59 +02:00
Jelmer Vernooij
8a76e4ab29
selftest/subunit: Remove prefix command.
2009-06-11 19:59:58 +02:00
Jelmer Vernooij
4308e69084
selftest: Fix subunit stream to include the right prefixes rather than
...
extending the subunit protocol.
2009-06-11 19:59:58 +02:00
Jelmer Vernooij
c278ee50ee
More work supporting prefixes.
2009-06-11 19:59:58 +02:00
Jelmer Vernooij
16a69f358a
selftest: Use external processes for filtering known failures and pretty
...
formatting.
2009-06-11 19:59:58 +02:00
Jelmer Vernooij
24f01e70aa
selftest: Use filter-xfail for known failures
2009-06-11 19:59:58 +02:00
Jelmer Vernooij
641f8d62df
Support reporting current time in selftest output.
2009-06-03 16:26:30 +02:00
Jelmer Vernooij
53aeb7f4cf
selftest: Add subunit output format.
2009-06-03 16:26:29 +02:00
Jelmer Vernooij
ea907a7144
selftest: Add copyright headers
2009-03-25 15:40:39 +01:00
Stefan Metzmacher
4248a8bf99
selftest: add my copyright
...
metze
2009-02-10 11:47:00 +01:00
Stefan Metzmacher
388da7ca97
selftest: export BUILDDIR, BUILDDIR_ABS and EXEEXT
...
metze
2009-02-03 16:31:03 +01:00
Stefan Metzmacher
016598717b
selftest: remove source4 specific stuff from selftest.pl
...
metze
2009-02-02 13:12:30 +01:00
Stefan Metzmacher
6b128f03d5
selftest: don't export $CONFIGURATION anymore only $SMB_CONF_PATH
...
metze
2009-01-30 13:33:34 +01:00
Stefan Metzmacher
b88a0adbed
selftest: fix "none" test
...
metze
2009-01-30 10:31:36 +01:00
Stefan Metzmacher
fd82f593d7
selftest: fix default option name
...
metze
2009-01-30 10:03:45 +01:00
Stefan Metzmacher
52a49b448e
selftest: allow environment options
...
We support "local" and "client" (default) now.
We can decide if we want to run a client against the server
(with a special client.conf) or if we want to run tests localy
on the server with the same config as the server.
metze
2009-01-30 09:36:53 +01:00
Stefan Metzmacher
439172dc06
selftest: add "member" environment for Samba3
...
metze
2009-01-29 10:39:06 +01:00
Stefan Metzmacher
67bf7a2396
selftest: fix Samba3 bugs
...
metze
2009-01-29 10:31:48 +01:00
Stefan Metzmacher
ff39e0f6dd
selftest: set 'lock dir' in client.conf
...
metze
2009-01-28 12:01:20 +01:00
Stefan Metzmacher
6f6533aa81
selftest: add --exeext parameter
...
metze
2009-01-21 13:35:36 +01:00
Stefan Metzmacher
ac364b4bab
selftest: bin/ is under $(builddir) instead of $(srcdir)
...
metze
2009-01-21 13:35:35 +01:00
Jelmer Vernooij
069a6f0e4b
Disable lanman authentication by default in Samba 4.
2008-10-31 15:07:34 +01:00
Stefan Metzmacher
6bc9fb887f
selftest: move gdb_* and valgrind_* scripts to selftest/
...
metze
2008-10-28 12:20:59 +01:00
Jelmer Vernooij
7a683618e7
Require separate option for quicktest include list rather than making
...
assumptions about it.
2008-10-22 04:09:17 +02:00
Jelmer Vernooij
5018fef8cb
Fix path for quicktest.
2008-10-22 04:05:22 +02:00
Jelmer Vernooij
e422f638bc
Use socket wrapper for selftest.pl, find binaries correctly.
2008-10-21 17:48:05 +02:00
Jelmer Vernooij
dadde7e8f0
Make warning a bit more user-friendly.
2008-10-20 12:09:36 +02:00
Jelmer Vernooij
c3d8f472e8
Export variables correctly for blackbox tests (thanks metze).
2008-10-20 10:53:26 +02:00
Jelmer Vernooij
c0de338394
Move Samba4-specific code out of selftest.
2008-10-19 16:07:00 +02:00
Jelmer Vernooij
0b3cf400db
Fix formatting in selftest help output.
2008-10-19 14:50:25 +02:00
Jelmer Vernooij
0fd0fc75c4
Merge branch 'master' of ssh://git.samba.org/data/git/samba into selftest
...
Conflicts:
selftest/selftest.pl
2008-10-11 03:12:21 +02:00
Jelmer Vernooij
182a0e3490
Move selftest code to top-level.
2008-09-18 19:51:03 +02:00