Stefan Metzmacher
e102863020
r22331: remove run_test_buildfarm() function
...
and pass buildfarm specific msg_ops to run_test()
instead
metze
2007-10-10 14:51:03 -05:00
Stefan Metzmacher
4a77fc9cf5
r22329: abstract the output handling of run_test()
...
via function pointers
metze
2007-10-10 14:51:03 -05:00
Jelmer Vernooij
3f85eab590
r22326: Merge some more test improvements.
2007-10-10 14:51:03 -05:00
Stefan Metzmacher
4a95e89308
r22312: avoid the need of typing 'run' into each gdb xterm
...
if someone knows how to tell gdb to only exit
if 'run' exists clean via the if/else logic
please tell me!
see http://davis.lbl.gov/Manuals/GDB/gdb_20.html#SEC194 )
but there's no useful example :-(
metze
2007-10-10 14:51:01 -05:00
Stefan Metzmacher
d5b13e7923
r22311: use different ip-addresses for dc and member
...
metze
2007-10-10 14:51:01 -05:00
Stefan Metzmacher
10ed5c3969
r22307: when no lex or yacc is found:
...
- just touch $DEST if it's already there and newer than $SRC
- touch $DEST if it's already there but older than $SRC and print warnings
to stderr
- otherwise return an error
when lex or yacc is found:
- just touch $DEST if it's already there and newer than $SRC
- otherwise regenerate $DEST from $SRC using lex or yacc
I don't like that every 'make' tries to regenerate because the timestamp
of $DEST is never updated...
metze
2007-10-10 14:51:00 -05:00
Stefan Metzmacher
b9dc78c3ad
r22305: fix make test using a absolute path for
...
--with-selftest-prefix
metze
2007-10-10 14:50:59 -05:00
Andrew Bartlett
a59ec710ce
r22295: Use delegated credentials and kerberos to test the pass-though
...
authenticatication as well as the ntvfs/cifs layer.
Andrew Bartlett
2007-10-10 14:50:58 -05:00
Andrew Bartlett
24ca1e180c
r22292: Start the LDAP server inside the same fifo as smbd, as OpenLDAP (like
...
smbd, but not Fedora DS yet) will then shut down when it looses stdin.
This avoids leaving stray slapd processes around, if we don't finish
the script to run the kill.
Also set KRB5_CONFIG in the smbd process again, as we do actually need
this...
Andrew Bartlett
2007-10-10 14:50:57 -05:00
Andrew Bartlett
0e80f456e8
r22290: Fedora DS is incredibly picky about newlines...
2007-10-10 14:50:57 -05:00
Jelmer Vernooij
25a7eabc6b
r22289: Another fedora ds fix
2007-10-10 14:50:57 -05:00
Andrew Bartlett
5e9f7805f0
r22288: Somehow, Jelmer lost a few capital letters. I'll send him a new batch.
...
Andrew Bartlett
2007-10-10 14:50:56 -05:00
Jelmer Vernooij
e820f1d0f3
r22287: Fix some issues in fedora ds code.
2007-10-10 14:50:56 -05:00
Jelmer Vernooij
e3ba5ced04
r22286: Import branch that converted the Samba4 test target code to perl and makes the code a bit clearer.
2007-10-10 14:50:56 -05:00
Jelmer Vernooij
9e3142a1bb
r22260: Use single script for creating Samba 4 test environments. Add first test
...
that uses the member environment.
2007-10-10 14:50:49 -05:00
Andrew Bartlett
7f27bfc356
r22235: Test kinit, and PKINIT functionality by means of a new blackbox test.
...
Andrew Bartlett
2007-10-10 14:50:41 -05:00
Andrew Bartlett
783c57bf1c
r22233: Allow 'REALM' as a global environment variable in the tests.
...
Set the default socket_wrapper interface inside the test env setup, so
it actually stays (fixes LOCAL-SOCKET failures).
Andrew Bartlett
2007-10-10 14:50:41 -05:00
Stefan Metzmacher
31c9bd4bf2
r22197: fix formating
...
metze
2007-10-10 14:50:03 -05:00
Andrew Bartlett
16a2bb87a8
r22187: Test kerberos logins in the smbclient blackbox tests, including with a
...
machine account.
Andrew Bartlett
2007-10-10 14:50:01 -05:00
Jelmer Vernooij
9e0032be03
r22185: Initial work on a 'member' test environment'.
2007-10-10 14:49:59 -05:00
Andrew Bartlett
d76afe147c
r22180: Re-add testing of the CIFS backend.
...
Andrew Bartlett
2007-10-10 14:49:58 -05:00
Andrew Bartlett
0a721c3193
r22177: Restore the PIDDIR mapping for the client 'pid directory', as this is
...
(ab)used for messaging.
Andrew Bartlett
2007-10-10 14:49:58 -05:00
Andrew Bartlett
12f4e6033e
r22170: To get the smbclient blackbox test to pass again, we need to get the
...
private dir to contain a valid machine account.
It isn't really valid it use the DC's account any more, so extend this
script to also join the domain. This nicely tests out some previously
untested code too!
Andrew Bartlett
2007-10-10 14:49:57 -05:00
Andrew Bartlett
216bf28a8d
r22168: Ensure we actually run all the transports for the slow tests
...
(otherwise we miss tests).
Andrew Bartlett
2007-10-10 14:49:57 -05:00
Andrew Bartlett
b893c63183
r22167: This seems to get Fedora DS to run the tests again.
...
Andrew Bartlett
2007-10-10 14:49:56 -05:00
Andrew Bartlett
529575d07a
r22162: get the TEST_LDAP mode working again
...
Andrew Bartlett
2007-10-10 14:49:55 -05:00
Andrew Bartlett
a230261e83
r22161: Clarify exactly where the socket_wrapper should be handled (early),
...
and ensure that $prefix exists before it tries to create $prefix/w.
This should fix the build farm. Perhaps we should have a rm -rf
$prefix at the start of this script, as that would have found the
problem, but I want to be careful about that...
Andrew Bartlett
2007-10-10 14:49:55 -05:00
Andrew Bartlett
519f3c0575
r22160: Only use test environment names that actually exist (get make
...
quicktest to pass).
Ensure that when we fail on the build farm, this ends up in the total
failures.
I think having the 2 different functions for running the tests is just
asking for this kind of failure. The build farm should be a
presentation detail, and not alter the test behaviour.
There is still a gremlin in there, we will fail horribly on the farm,
but not on local tests...
Andrew Bartlett
2007-10-10 14:49:55 -05:00
Jelmer Vernooij
ed0410309b
r22156: - Lazy evaluate variable names.
...
- Don't set up environments until necessary
- Add --resetup-environment option
- Add 'none' environment
2007-10-10 14:49:55 -05:00
Jelmer Vernooij
9399123a72
r22137: Actually use client.conf, defer more code as far as possible.
2007-10-10 14:49:54 -05:00
Jelmer Vernooij
a32cdc06c3
r22134: Create different smb.conf file for the client side. This should make use with Samba 3 or windows easier as well as environments.
2007-10-10 14:49:54 -05:00
Jelmer Vernooij
290815d180
r22133: Don't push parameters into environment until necessary.
2007-10-10 14:49:53 -05:00
Andrew Bartlett
394c863a3f
r22121: The RPC-CRACKNAMES test now passes against Samba4. This should help
...
the code coverage...
Andrew Bartlett
2007-10-10 14:49:53 -05:00
Andrew Bartlett
9e95871b3a
r22088: export PIDDIR to make the smbd pid show in 'make testenv' again.
2007-10-10 14:49:50 -05:00
Jelmer Vernooij
150bb2238e
r22077: Import only necessary test variables, more refactoring.
2007-10-10 14:49:48 -05:00
Andrew Bartlett
c366610cbc
r22076: Fill in short and long domain names into the generated krb5.conf
2007-10-10 14:49:48 -05:00
Andrew Bartlett
ce080b107c
r22075: Configure the bitwise match plugin, until it becomes accepted upstream.
...
Andrew Bartlett
2007-10-10 14:49:47 -05:00
Jelmer Vernooij
b0e0c5cb94
r22074: More refactoring.
2007-10-10 14:49:47 -05:00
James Peach
8b19b8bfbe
r22034: Use builddir and srcdir instead on samba_builddir and samba_srcdir.
2007-10-10 14:49:43 -05:00
Andrew Bartlett
448ffc68f3
r21971: Fill in some more values in config files from variables, so we can
...
better setup multiple environments.
Run the mk-keyblobs script before we need variables it defines.
Andrew Bartlett
2007-10-10 14:49:40 -05:00
Andrew Bartlett
cf9993a309
r21970: Ensure that Fedora DS can be shut down correctly with the stop script:
...
This needs the pid file to be in the right spot.
Andrew Bartlett
2007-10-10 14:49:39 -05:00
Jelmer Vernooij
36cd3406db
r21910: Clean up some unused functions.
2007-10-10 14:49:38 -05:00
Jelmer Vernooij
dbe9de1028
r21909: Merge some of my recent improvements to the test infrastructure:
...
- Allow tests to specify what environment they need to run in (dc and none are thecurrent supported ones).
- Move more Samba4-specific code out of the common code
2007-10-10 14:49:37 -05:00
Andrew Bartlett
b9d06c70ad
r21836: Assume that if an OpenLDAP system is 'modular' then everything is a
...
module, so we have to bring in syncprov too.
Andrew Bartlett
2007-10-10 14:49:35 -05:00
Andrew Bartlett
5c07dbd248
r21790: Setup the socket_wrapper_dir when we set the environment variable.
...
Andrew Bartlett
2007-10-10 14:49:26 -05:00
Andrew Bartlett
5f36350243
r21789: We do actually need this, to get a contextCSN attribute, which we need
...
for USN support.
Andrew Bartlett
2007-10-10 14:49:26 -05:00
Andrew Bartlett
c55edacba5
r21771: We just don't need to test this on more than one transport.
...
Andrew Bartlett
2007-10-10 14:49:24 -05:00
Andrew Bartlett
8a5b3067e9
r21751: These 2 tests pass for me, so add them to the standard test script.
...
Andrew Bartlett
2007-10-10 14:49:23 -05:00
Andrew Bartlett
f484b0a924
r21743: Always use the 'escaped' LDAPI path.
...
Wait around for the server to start, so we don't try to contact it
during it's starup phase.
Andrew Bartlett
2007-10-10 14:49:22 -05:00
Andrew Tridgell
f483f5b26a
r21742: reenable the smbclient test now that the d_printf bug is fixed
2007-10-10 14:49:22 -05:00