diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2013-12-10 11:14:04 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2013-12-10 14:23:26 +0100 |
commit | c6c0669a2a9c4141693a7cf1d8f5f35ee9bda7ac (patch) | |
tree | 0c382dd01b98983c61805f8cbc58ba4eaca0a201 /tests/torture.h | |
parent | 1e12eb0b3e4f974c33a2b628d0857e137fce8cfa (diff) | |
download | socket_wrapper-c6c0669a2a9c4141693a7cf1d8f5f35ee9bda7ac.tar.gz socket_wrapper-c6c0669a2a9c4141693a7cf1d8f5f35ee9bda7ac.tar.xz socket_wrapper-c6c0669a2a9c4141693a7cf1d8f5f35ee9bda7ac.zip |
tests: Add teardown functions to torture lib.
Diffstat (limited to 'tests/torture.h')
-rw-r--r-- | tests/torture.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/torture.h b/tests/torture.h index 2bc0cf7..19e889f 100644 --- a/tests/torture.h +++ b/tests/torture.h @@ -43,6 +43,8 @@ #include <string.h> +#define TORTURE_ECHO_SRV_IPV4 "127.0.0.10" +#define TORTURE_ECHO_SRV_IPV6 "::10" #define TORTURE_ECHO_SRV_PORT 7 struct torture_state { @@ -57,4 +59,7 @@ struct torture_state { void torture_setup_socket_dir(void **state); void torture_setup_echo_srv_udp_ipv4(void **state); +void torture_teardown_socket_dir(void **state); +void torture_teardown_echo_srv(void **state); + #endif /* _TORTURE_H */ |