git: test: Add bunch of tests for udp protocol

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Mon Aug 25 05:58:47 PDT 2014


commit f503b4c47fe584cb03d5f6612249974140e075b5
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Mon Aug 25 20:55:53 2014 +0800

    test: Add bunch of tests for udp protocol
    
    They test various combination of bind(2), connect(2) and sendto(2)
    for both unicast and multicast.  Unicast tests work w/ udpecho in
    tools/netrate.  Multicast tests work w/ mcastsend.

Summary of changes:
 test/udp/bindconnfail/Makefile           |   6 ++
 test/udp/bindconnfail/udp_bindconnfail.c | 106 +++++++++++++++++++++++++++
 test/udp/bindconnsend/Makefile           |   6 ++
 test/udp/bindconnsend/udp_bindconnsend.c |  87 ++++++++++++++++++++++
 test/udp/bindsend/Makefile               |   6 ++
 test/udp/bindsend/udp_bindsend.c         |  85 +++++++++++++++++++++
 test/udp/conn2send/Makefile              |   6 ++
 test/udp/conn2send/udp_conn2send.c       |  81 ++++++++++++++++++++
 test/udp/connsend/Makefile               |   6 ++
 test/udp/connsend/udp_connsend.c         |  70 ++++++++++++++++++
 test/udp/mcastbind/Makefile              |   6 ++
 test/udp/mcastbind/mcastbind.c           | 112 ++++++++++++++++++++++++++++
 test/udp/mcastconn/Makefile              |   6 ++
 test/udp/mcastconn/mcastconn.c           | 122 +++++++++++++++++++++++++++++++
 test/udp/mcastsend/Makefile              |   6 ++
 test/udp/mcastsend/mcastsend.c           |  95 ++++++++++++++++++++++++
 test/udp/sendwildcard/Makefile           |   6 ++
 test/udp/sendwildcard/udp_sendwildcard.c |  68 +++++++++++++++++
 test/udp/sockclose/Makefile              |   6 ++
 test/udp/sockclose/udp_sockclose.c       |  48 ++++++++++++
 20 files changed, 934 insertions(+)
 create mode 100644 test/udp/bindconnfail/Makefile
 create mode 100644 test/udp/bindconnfail/udp_bindconnfail.c
 create mode 100644 test/udp/bindconnsend/Makefile
 create mode 100644 test/udp/bindconnsend/udp_bindconnsend.c
 create mode 100644 test/udp/bindsend/Makefile
 create mode 100644 test/udp/bindsend/udp_bindsend.c
 create mode 100644 test/udp/conn2send/Makefile
 create mode 100644 test/udp/conn2send/udp_conn2send.c
 create mode 100644 test/udp/connsend/Makefile
 create mode 100644 test/udp/connsend/udp_connsend.c
 create mode 100644 test/udp/mcastbind/Makefile
 create mode 100644 test/udp/mcastbind/mcastbind.c
 create mode 100644 test/udp/mcastconn/Makefile
 create mode 100644 test/udp/mcastconn/mcastconn.c
 create mode 100644 test/udp/mcastsend/Makefile
 create mode 100644 test/udp/mcastsend/mcastsend.c
 create mode 100644 test/udp/sendwildcard/Makefile
 create mode 100644 test/udp/sendwildcard/udp_sendwildcard.c
 create mode 100644 test/udp/sockclose/Makefile
 create mode 100644 test/udp/sockclose/udp_sockclose.c

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f503b4c47fe584cb03d5f6612249974140e075b5


-- 
DragonFly BSD source repository


More information about the Commits mailing list