1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-23 11:33:16 +03:00
Commit Graph

725 Commits

Author SHA1 Message Date
Stefan Metzmacher
b0a1f730f9 r22398: try to let all tests pass 5400 seconds is not enough
with the amount of tests we run now.

metze
2007-10-10 14:51:13 -05:00
Stefan Metzmacher
7b173c3421 r22384: print out the total selftest runtime
and the time for each test

we hit the max runtime of smbd on some hosts

metze
2007-10-10 14:51:12 -05:00
Stefan Metzmacher
8b8152b490 r22383: maybe this fixes the mkdir not enough args failure
on sun1

metze
2007-10-10 14:51:11 -05:00
Stefan Metzmacher
29c0b56449 r22380: get the output of the exited smbd...
this shows all the memory leaks now...

metze
2007-10-10 14:51:11 -05:00
Stefan Metzmacher
7688919ab8 r22378: none needs to be checked first
metze
2007-10-10 14:51:10 -05:00
Stefan Metzmacher
4fe8e724ef r22377: implement check_env() for samba4
metze
2007-10-10 14:51:10 -05:00
Stefan Metzmacher
0b48ca5d3e r22375: implement check_env() logic in the frontend
metze
2007-10-10 14:51:10 -05:00
Stefan Metzmacher
e8dd140a03 r22374: fix perl warnings
metze
2007-10-10 14:51:09 -05:00
Stefan Metzmacher
a21a86543f r22361: warnings.pm isn't available on solaris 8
metze
2007-10-10 14:51:07 -05:00
Stefan Metzmacher
dea42ce559 r22360: print out the name of the PCAP file and move setup and cleanup
of pcap files into functions

metze
2007-10-10 14:51:07 -05:00
Stefan Metzmacher
a3f35f5af4 r22359: try to fix the start failures in the build-farm by creating the prefix dir
before using abs_path()

metze
2007-10-10 14:51:07 -05:00
Jelmer Vernooij
913aa17b02 r22356: Simple refactoring. 2007-10-10 14:51:06 -05:00
Jelmer Vernooij
1b73e6a776 r22339: Run some more tests. 2007-10-10 14:51:06 -05:00
Jelmer Vernooij
74efac5ce2 r22338: Allow regexes in known-failures file 2007-10-10 14:51:05 -05:00
Stefan Metzmacher
b6b95180d3 r22337: print out the smbd log output after each test
metze
2007-10-10 14:51:05 -05:00
Stefan Metzmacher
cf3a176615 r22335: output the error code
metze
2007-10-10 14:51:05 -05:00
Stefan Metzmacher
d1d485fd0c r22334: don't print the test output if the test passed
(in build-farm mode)

use scalar(localtime()) instead of system("date")

metze
2007-10-10 14:51:04 -05:00
Andrew Bartlett
cf9508cd56 r22333: Use kerberos and the ntvfs/cifs backend for just one test, in the
quicktest.

Andrew Bartlett
2007-10-10 14:51:04 -05:00
Stefan Metzmacher
3d3c0b36cb r22332: escape bad chars with '_' to form a nice filename
metze
2007-10-10 14:51:04 -05:00
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