1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

822 Commits

Author SHA1 Message Date
Stefan Metzmacher
fdae545292 r22380: get the output of the exited smbd...
this shows all the memory leaks now...

metze
(This used to be commit 29c0b5644953ba6772f44b42cd49901127b250cd)
2007-10-10 14:51:11 -05:00
Stefan Metzmacher
fefc459b8f r22378: none needs to be checked first
metze
(This used to be commit 7688919ab879706450a745b59fe5ef2506c25943)
2007-10-10 14:51:10 -05:00
Stefan Metzmacher
e4fb7098cd r22377: implement check_env() for samba4
metze
(This used to be commit 4fe8e724efaced6c04388c70712413dfc1bb9f00)
2007-10-10 14:51:10 -05:00
Stefan Metzmacher
e2deb00136 r22375: implement check_env() logic in the frontend
metze
(This used to be commit 0b48ca5d3ebe8fe29774d85ee15e473af8c0714d)
2007-10-10 14:51:10 -05:00
Stefan Metzmacher
49f71c5c97 r22374: fix perl warnings
metze
(This used to be commit e8dd140a03eb8ee5f444551a05d313864801c50e)
2007-10-10 14:51:09 -05:00
Stefan Metzmacher
558e5ddc52 r22361: warnings.pm isn't available on solaris 8
metze
(This used to be commit a21a86543f46f677696eb77c140763414600e24d)
2007-10-10 14:51:07 -05:00
Stefan Metzmacher
ad6b43ae3b r22360: print out the name of the PCAP file and move setup and cleanup
of pcap files into functions

metze
(This used to be commit dea42ce55965d22ff82279cacd8939b1e133ff1e)
2007-10-10 14:51:07 -05:00
Stefan Metzmacher
1711fed0dd r22359: try to fix the start failures in the build-farm by creating the prefix dir
before using abs_path()

metze
(This used to be commit a3f35f5af4533d7903c2a1e181017b310baa9d71)
2007-10-10 14:51:07 -05:00
Jelmer Vernooij
efe1883d9b r22356: Simple refactoring.
(This used to be commit 913aa17b0278e0861f2662768453e436a3d71e1e)
2007-10-10 14:51:06 -05:00
Jelmer Vernooij
a60ab76694 r22339: Run some more tests.
(This used to be commit 1b73e6a776a3ef478718f656523d125d28589f5c)
2007-10-10 14:51:06 -05:00
Jelmer Vernooij
8636c243d6 r22338: Allow regexes in known-failures file
(This used to be commit 74efac5ce2655e47f8274f484630b82b6d5fcb24)
2007-10-10 14:51:05 -05:00
Stefan Metzmacher
08a44496d1 r22337: print out the smbd log output after each test
metze
(This used to be commit b6b95180d3fb851264fd64eb5a0de4803ee0892a)
2007-10-10 14:51:05 -05:00
Stefan Metzmacher
cef04ba64f r22335: output the error code
metze
(This used to be commit cf3a176615943fd552bd153a1760cbb21ab75db2)
2007-10-10 14:51:05 -05:00
Stefan Metzmacher
249174cfc5 r22334: don't print the test output if the test passed
(in build-farm mode)

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

metze
(This used to be commit d1d485fd0c0b9ebc1c9d5635397ee44d7c7406bb)
2007-10-10 14:51:04 -05:00
Andrew Bartlett
38f9de8ae5 r22333: Use kerberos and the ntvfs/cifs backend for just one test, in the
quicktest.

Andrew Bartlett
(This used to be commit cf9508cd5615c01557b8011608b216542817c25b)
2007-10-10 14:51:04 -05:00
Stefan Metzmacher
f4ec06d8db r22332: escape bad chars with '_' to form a nice filename
metze
(This used to be commit 3d3c0b36cbb0a34b3e241575d79427936aaa8306)
2007-10-10 14:51:04 -05:00
Stefan Metzmacher
f9e5d77b9c r22331: remove run_test_buildfarm() function
and pass buildfarm specific msg_ops to run_test()
instead

metze
(This used to be commit e102863020c98565155d1f6f8454db3ac3da884b)
2007-10-10 14:51:03 -05:00
Stefan Metzmacher
ab9b8d3604 r22329: abstract the output handling of run_test()
via function pointers

metze
(This used to be commit 4a77fc9cf5037a851b605dde8f5deb5d22f025c3)
2007-10-10 14:51:03 -05:00
Jelmer Vernooij
21379ee620 r22326: Merge some more test improvements.
(This used to be commit 3f85eab5908b8aa6761f23702f987d89f2977179)
2007-10-10 14:51:03 -05:00
Stefan Metzmacher
45e8a27d98 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
(This used to be commit 4a95e893087e6e3194cd18289a9bf019d0f0abde)
2007-10-10 14:51:01 -05:00
Stefan Metzmacher
cc098d19bc r22311: use different ip-addresses for dc and member
metze
(This used to be commit d5b13e79233090b1bd1c2efbc910336afced015e)
2007-10-10 14:51:01 -05:00
Stefan Metzmacher
8934c3f68e 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
(This used to be commit 10ed5c39692ff4a6b61ec9c6d046b2ee2202fc02)
2007-10-10 14:51:00 -05:00
Stefan Metzmacher
86a137b6cc r22305: fix make test using a absolute path for
--with-selftest-prefix

metze
(This used to be commit b9dc78c3ad4c636bd8356978c18313ab4277cd64)
2007-10-10 14:50:59 -05:00
Andrew Bartlett
0ca8807734 r22295: Use delegated credentials and kerberos to test the pass-though
authenticatication as well as the ntvfs/cifs layer.

Andrew Bartlett
(This used to be commit a59ec710ce546f3948bdb655dfcb98e2aa55f039)
2007-10-10 14:50:58 -05:00
Andrew Bartlett
bcf43e1eb0 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
(This used to be commit 24ca1e180c9c35f0e87d49c9c8f8b936b4c88572)
2007-10-10 14:50:57 -05:00
Andrew Bartlett
ed4df962f4 r22290: Fedora DS is incredibly picky about newlines...
(This used to be commit 0e80f456e87f4c742dee3e1de3d95cd007d09bbc)
2007-10-10 14:50:57 -05:00
Jelmer Vernooij
fabbcb6104 r22289: Another fedora ds fix
(This used to be commit 25a7eabc6bca3e7cdc0d0d0bf1b0981873fe7b83)
2007-10-10 14:50:57 -05:00
Andrew Bartlett
15416dc72e r22288: Somehow, Jelmer lost a few capital letters. I'll send him a new batch.
Andrew Bartlett
(This used to be commit 5e9f7805f067ff029bc916f5bc694d9d9001da72)
2007-10-10 14:50:56 -05:00
Jelmer Vernooij
5dc27b3681 r22287: Fix some issues in fedora ds code.
(This used to be commit e820f1d0f398a6ebfdf5be2f756f9f256d9c88d5)
2007-10-10 14:50:56 -05:00
Jelmer Vernooij
2c247996a9 r22286: Import branch that converted the Samba4 test target code to perl and makes the code a bit clearer.
(This used to be commit e3ba5ced0440e736f0f140e12a8c728f79a20bb2)
2007-10-10 14:50:56 -05:00
Jelmer Vernooij
7836c2d101 r22260: Use single script for creating Samba 4 test environments. Add first test
that uses the member environment.
(This used to be commit 9e3142a1bb3f3b3e06ea1a54215474d88de4d44d)
2007-10-10 14:50:49 -05:00
Andrew Bartlett
b0cbe9ae4a r22235: Test kinit, and PKINIT functionality by means of a new blackbox test.
Andrew Bartlett
(This used to be commit 7f27bfc3568bc09b2b9cb9ba03aae55a03e08f9a)
2007-10-10 14:50:41 -05:00
Andrew Bartlett
3f7d52d538 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
(This used to be commit 783c57bf1c0f3dd4249302857936a2b6595e0a7b)
2007-10-10 14:50:41 -05:00
Stefan Metzmacher
d84fcaa76c r22197: fix formating
metze
(This used to be commit 31c9bd4bf2e08a979c7396a56b7bdb124bebfd01)
2007-10-10 14:50:03 -05:00
Andrew Bartlett
f1b2b43ba5 r22187: Test kerberos logins in the smbclient blackbox tests, including with a
machine account.

Andrew Bartlett
(This used to be commit 16a2bb87a80ffb921f267492f453eb3457666315)
2007-10-10 14:50:01 -05:00
Jelmer Vernooij
f725377346 r22185: Initial work on a 'member' test environment'.
(This used to be commit 9e0032be03ebd6dd94c98bc6958df0cb998f487e)
2007-10-10 14:49:59 -05:00
Andrew Bartlett
f5bcf91e22 r22180: Re-add testing of the CIFS backend.
Andrew Bartlett
(This used to be commit d76afe147ca87f3678b7eb4930096eb6aaa39e6e)
2007-10-10 14:49:58 -05:00
Andrew Bartlett
5904bbf3d9 r22177: Restore the PIDDIR mapping for the client 'pid directory', as this is
(ab)used for messaging.

Andrew Bartlett
(This used to be commit 0a721c3193163f8a12f5410df4c29b6dc00b7035)
2007-10-10 14:49:58 -05:00
Andrew Bartlett
f3303bc8f6 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
(This used to be commit 12f4e6033ed11a010211a4295424588f44f7e5e0)
2007-10-10 14:49:57 -05:00
Andrew Bartlett
f57ebf3f12 r22168: Ensure we actually run all the transports for the slow tests
(otherwise we miss tests).

Andrew Bartlett
(This used to be commit 216bf28a8dd33037dba1f8e7e13140752b30a885)
2007-10-10 14:49:57 -05:00
Andrew Bartlett
5f11116a6b r22167: This seems to get Fedora DS to run the tests again.
Andrew Bartlett
(This used to be commit b893c63183eaec20ab0000d0c6635672c2893dce)
2007-10-10 14:49:56 -05:00
Andrew Bartlett
c41fe665e4 r22162: get the TEST_LDAP mode working again
Andrew Bartlett
(This used to be commit 529575d07aeb269927315eaff121408c1beefa59)
2007-10-10 14:49:55 -05:00
Andrew Bartlett
7b88696bed 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
(This used to be commit a230261e83fd9161e60554b74cf8556f36b1af45)
2007-10-10 14:49:55 -05:00
Andrew Bartlett
dbfb32ffe5 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
(This used to be commit 519f3c0575748968ece2f556f370ade98c59ff05)
2007-10-10 14:49:55 -05:00
Jelmer Vernooij
e338b4b47b r22156: - Lazy evaluate variable names.
- Don't set up environments until necessary

- Add --resetup-environment option

- Add 'none' environment
(This used to be commit ed0410309bfdefb0d31cb247c26b947956fb1137)
2007-10-10 14:49:55 -05:00
Jelmer Vernooij
892c8cd1b4 r22137: Actually use client.conf, defer more code as far as possible.
(This used to be commit 9399123a7277dbaf8dd392dd4ec2fe1c0780d486)
2007-10-10 14:49:54 -05:00
Jelmer Vernooij
3ff1625f1f r22134: Create different smb.conf file for the client side. This should make use with Samba 3 or windows easier as well as environments.
(This used to be commit a32cdc06c39b07fbc7a3015ef059cc9143fb6e20)
2007-10-10 14:49:54 -05:00
Jelmer Vernooij
51fd156081 r22133: Don't push parameters into environment until necessary.
(This used to be commit 290815d180b2bf0ba24744b3796905096d07d7b7)
2007-10-10 14:49:53 -05:00
Andrew Bartlett
a16989b1e9 r22121: The RPC-CRACKNAMES test now passes against Samba4. This should help
the code coverage...

Andrew Bartlett
(This used to be commit 394c863a3f3e0945da12d7c39641235d326b1198)
2007-10-10 14:49:53 -05:00
Andrew Bartlett
bfc4053178 r22088: export PIDDIR to make the smbd pid show in 'make testenv' again.
(This used to be commit 9e95871b3a70310b8c0ca92dfdb595d7cfc559d5)
2007-10-10 14:49:50 -05:00