summaryrefslogtreecommitdiff
path: root/source4/torture/local/socket.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r19339: Merge my 4.0-unittest branch. This adds an API for more fine-grainedJelmer Vernooij1-95/+69
output in the testsuite rather than just True or False for a set of tests. The aim is to use this for: * known failure lists (run all tests and detect tests that started working or started failing). This would allow us to get rid of the RPC-SAMBA3-* tests * nicer torture output * simplification of the testsuite system * compatibility with other unit testing systems * easier usage of smbtorture (being able to run one test and automatically set up the environment for that) This is still a work-in-progress; expect more updates over the next couple of days. (This used to be commit 0eb6097305776325c75081356309115f445a7218)
2007-10-10r17586: merge lib/netif into lib/socket and use -lnsl -lsocket on theStefan Metzmacher1-1/+1
configure check for the interfaces. should fix the build on some old sun boxes metze (This used to be commit f20e251bfd9f1eb7ce5c00739631b1625a2aa467)
2007-10-10r16524: Fix double evaluation.Jelmer Vernooij1-2/+2
(This used to be commit 93f7adfb140d9e77120dd197d05a8fdd50e768bd)
2007-10-10r16489: Because the torture/ui.h file isn't automaticly generated, theAndrew Bartlett1-14/+14
prototypes in it need to use the PRINTF_ATTRIBUTE() macro, rather than _PRINTF_ATTRIBUTE() (which becomes PRINTF_ATTRIBUTE() only in proto files, but not C files). This found a number of missing descriptions in the LOCAL-SOCKET test. Andrew Bartlett (This used to be commit 1009d55c8caa173e9998b38235c06b4ae4b30d80)
2007-10-10r16328: Wrap all existing tests in simple single-function testsuites.Jelmer Vernooij1-5/+3
(This used to be commit 7e811adf59841936b7e634fca4e95630f890c5af)
2007-10-10r16315: Convert to new API.Jelmer Vernooij1-95/+76
(This used to be commit 0e52a831ed88b5d61033aee56a17e49b84df6773)
2007-10-10r15356: Remove unused 'flags' argument from socket_send() and friends.Andrew Bartlett1-38/+7
This is in preperation for making TLS a socket library. Andrew Bartlett (This used to be commit a312812b92f5ac7e6bd2c4af725dbbbc900d4452)
2007-10-10r14721: Fix a couple of warnings.Jelmer Vernooij1-0/+1
(This used to be commit 426ac78108b35adc8412d12d2d888c3d5ddf4171)
2007-10-10r14720: Add torture_context argument to all torture testsJelmer Vernooij1-1/+1
(This used to be commit 3c7a5ce29108dd82210dc3e1f00414f545949e1d)
2007-10-10r13924: Split more prototypes out of include/proto.h + initial work on headerJelmer Vernooij1-0/+2
file dependencies (This used to be commit 122835876748a3eaf5e8d31ad1abddab9acb8781)
2007-10-10r12804: This patch reworks the Samba4 sockets layer to use a socket_addressAndrew Bartlett1-33/+52
structure that is more generic than just 'IP/port'. It now passes make test, and has been reviewed and updated by metze. (Thankyou *very* much). This passes 'make test' as well as kerberos use (not currently in the testsuite). The original purpose of this patch was to have Samba able to pass a socket address stucture from the BSD layer into the kerberos routines and back again. It also removes nbt_peer_addr, which was being used for a similar purpose. It is a large change, but worthwhile I feel. Andrew Bartlett (This used to be commit 88198c4881d8620a37086f80e4da5a5b71c5bbb2)
2007-10-10r11554: make us able to run without depending on 127.0.0.1Stefan Metzmacher1-6/+8
metze (This used to be commit 6bae17d279205a0d75f609f6a026b5c99d73cea5)
2007-10-10r8520: fixed a pile of warnings from the build farm gcc -Wall output onAndrew Tridgell1-4/+4
S390. This is an attempt to avoid the panic we're seeing in the automatic builds. The main fixes are: - assumptions that sizeof(size_t) == sizeof(int), mostly in printf formats - use of NULL format statements to perform dn searches. - assumption that sizeof() returns an int (This used to be commit a58ea6b3854973b694d2b1e22323ed7eb00e3a3f)
2007-10-10r7655: test the evnt friendly socket_connect() in the LOCAL-SOCKET testAndrew Tridgell1-1/+3
(This used to be commit b9ed92d550f1b821c5402a516eb2dfc2c8d69f0a)
2007-10-10r5304: removed lib/socket/socket.h from includes.hAndrew Tridgell1-0/+1
(This used to be commit b902ea546d2d1327b23f40ddaeeaa8e7e3662454)
2007-10-10r4832: added simple testing of tcp sockets to LOCAL-SOCKET testAndrew Tridgell1-0/+108
(This used to be commit c06b25c269fb34601e931079ff5658f6e19956bc)
2007-10-10r4831: added udp support to our generic sockets library.Andrew Tridgell1-0/+134
I decided to incorporate the udp support into the socket_ipv4.c backend (and later in socket_ipv6.c) rather than doing a separate backend, as so much of the code is shareable. Basically this adds a socket_sendto() and a socket_recvfrom() call and not much all. For udp servers, I decided to keep the call as socket_listen(), even though dgram servers don't actually call listen(). This keeps the API consistent. I also added a simple local sockets testsuite in smbtorture, LOCAL-SOCKET (This used to be commit 9f12a45a05c5c447fb4ec18c8dd28f70e90e32a5)