diff options
author | Evan Jones <evanj@mit.edu> | 2010-12-02 14:13:33 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2010-12-03 12:57:15 -0500 |
commit | c0bf63cecbaa8ce061bd3f64978445fdf90e82e6 (patch) | |
tree | 487e9ebdc631061eb857722bd94961775b8c68dd /test | |
parent | 4f332091c38ac73a05e3d2b148cd9975799afbcf (diff) | |
download | libevent-c0bf63cecbaa8ce061bd3f64978445fdf90e82e6.tar.gz |
tests: Use relative includes ("") instead of system includes (<>)
Diffstat (limited to 'test')
-rw-r--r-- | test/bench_http.c | 10 | ||||
-rw-r--r-- | test/bench_httpclient.c | 8 | ||||
-rw-r--r-- | test/regress_dns.c | 12 | ||||
-rw-r--r-- | test/regress_et.c | 6 | ||||
-rw-r--r-- | test/regress_iocp.c | 10 | ||||
-rw-r--r-- | test/regress_listener.c | 6 | ||||
-rw-r--r-- | test/regress_main.c | 12 | ||||
-rw-r--r-- | test/regress_minheap.c | 2 | ||||
-rw-r--r-- | test/regress_ssl.c | 10 | ||||
-rw-r--r-- | test/regress_testutils.c | 6 | ||||
-rw-r--r-- | test/regress_testutils.h | 2 | ||||
-rw-r--r-- | test/test-changelist.c | 4 | ||||
-rw-r--r-- | test/test-ratelim.c | 12 | ||||
-rw-r--r-- | test/test-time.c | 6 | ||||
-rw-r--r-- | test/test-weof.c | 8 | ||||
-rw-r--r-- | test/tinytest_local.h | 2 |
16 files changed, 58 insertions, 58 deletions
diff --git a/test/bench_http.c b/test/bench_http.c index 86f42c7b..dd3dde89 100644 --- a/test/bench_http.c +++ b/test/bench_http.c @@ -42,11 +42,11 @@ #include <string.h> #include <errno.h> -#include <event2/event.h> -#include <event2/buffer.h> -#include <event2/util.h> -#include <event2/http.h> -#include <event2/thread.h> +#include "event2/event.h" +#include "event2/buffer.h" +#include "event2/util.h" +#include "event2/http.h" +#include "event2/thread.h" static void http_basic_cb(struct evhttp_request *req, void *arg); diff --git a/test/bench_httpclient.c b/test/bench_httpclient.c index 0d4baa16..19f025f1 100644 --- a/test/bench_httpclient.c +++ b/test/bench_httpclient.c @@ -35,10 +35,10 @@ #include <stdlib.h> #include <errno.h> -#include <event2/event.h> -#include <event2/bufferevent.h> -#include <event2/buffer.h> -#include <event2/util.h> +#include "event2/event.h" +#include "event2/bufferevent.h" +#include "event2/buffer.h" +#include "event2/util.h" /* for EVUTIL_ERR_CONNECT_RETRIABLE macro */ #include "util-internal.h" diff --git a/test/regress_dns.c b/test/regress_dns.c index 756ac165..255f613a 100644 --- a/test/regress_dns.c +++ b/test/regress_dns.c @@ -58,15 +58,15 @@ #include <string.h> #include <errno.h> -#include "event2/event.h" -#include "event2/event_compat.h" -#include "event2/event_struct.h" -#include <event2/util.h> -#include <event2/listener.h> -#include <event2/bufferevent.h> #include "event2/dns.h" #include "event2/dns_compat.h" #include "event2/dns_struct.h" +#include "event2/event.h" +#include "event2/event_compat.h" +#include "event2/event_struct.h" +#include "event2/util.h" +#include "event2/listener.h" +#include "event2/bufferevent.h" #include "log-internal.h" #include "regress.h" #include "regress_testutils.h" diff --git a/test/regress_et.c b/test/regress_et.c index 561f883f..9da53fdb 100644 --- a/test/regress_et.c +++ b/test/regress_et.c @@ -24,7 +24,7 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <event2/event-config.h> +#include "event2/event-config.h" #ifdef WIN32 #include <winsock2.h> @@ -44,8 +44,8 @@ #endif #include <errno.h> -#include <event2/event.h> -#include <event2/util.h> +#include "event2/event.h" +#include "event2/util.h" #include "regress.h" diff --git a/test/regress_iocp.c b/test/regress_iocp.c index f2f438a2..60b93304 100644 --- a/test/regress_iocp.c +++ b/test/regress_iocp.c @@ -26,11 +26,11 @@ #include <stdlib.h> #include <string.h> -#include <event2/event.h> -#include <event2/thread.h> -#include <event2/buffer.h> -#include <event2/buffer_compat.h> -#include <event2/bufferevent.h> +#include "event2/event.h" +#include "event2/thread.h" +#include "event2/buffer.h" +#include "event2/buffer_compat.h" +#include "event2/bufferevent.h" #include <winsock2.h> #include <ws2tcpip.h> diff --git a/test/regress_listener.c b/test/regress_listener.c index 06c3cf5f..1438f3aa 100644 --- a/test/regress_listener.c +++ b/test/regress_listener.c @@ -39,9 +39,9 @@ #include <string.h> -#include <event2/listener.h> -#include <event2/event.h> -#include <event2/util.h> +#include "event2/listener.h" +#include "event2/event.h" +#include "event2/util.h" #include "regress.h" #include "tinytest.h" diff --git a/test/regress_main.c b/test/regress_main.c index d4265dbb..e8b2af94 100644 --- a/test/regress_main.c +++ b/test/regress_main.c @@ -64,12 +64,12 @@ #include <string.h> #include <assert.h> -#include <event2/util.h> -#include <event2/event.h> -#include <event2/event_compat.h> -#include <event2/dns.h> -#include <event2/dns_compat.h> -#include <event2/thread.h> +#include "event2/util.h" +#include "event2/event.h" +#include "event2/event_compat.h" +#include "event2/dns.h" +#include "event2/dns_compat.h" +#include "event2/thread.h" #include "event2/event-config.h" #include "regress.h" diff --git a/test/regress_minheap.c b/test/regress_minheap.c index b45092ef..6c00c5b8 100644 --- a/test/regress_minheap.c +++ b/test/regress_minheap.c @@ -25,7 +25,7 @@ */ #include <stdlib.h> -#include <event2/event_struct.h> +#include "event2/event_struct.h" #include "tinytest.h" #include "tinytest_macros.h" diff --git a/test/regress_ssl.c b/test/regress_ssl.c index 2dc90e24..e16bf8b3 100644 --- a/test/regress_ssl.c +++ b/test/regress_ssl.c @@ -34,11 +34,11 @@ #include <netinet/in.h> #endif -#include <event2/util.h> -#include <event2/event.h> -#include <event2/bufferevent_ssl.h> -#include <event2/buffer.h> -#include <event2/listener.h> +#include "event2/util.h" +#include "event2/event.h" +#include "event2/bufferevent_ssl.h" +#include "event2/buffer.h" +#include "event2/listener.h" #include "regress.h" #include "tinytest.h" diff --git a/test/regress_testutils.c b/test/regress_testutils.c index 334c41b9..b5bef1ab 100644 --- a/test/regress_testutils.c +++ b/test/regress_testutils.c @@ -61,9 +61,9 @@ #include "event2/dns_struct.h" #include "event2/event.h" #include "event2/event_compat.h" -#include <event2/util.h> -#include <event2/listener.h> -#include <event2/bufferevent.h> +#include "event2/util.h" +#include "event2/listener.h" +#include "event2/bufferevent.h" #include "log-internal.h" #include "regress.h" #include "regress_testutils.h" diff --git a/test/regress_testutils.h b/test/regress_testutils.h index 951b4062..7f2936aa 100644 --- a/test/regress_testutils.h +++ b/test/regress_testutils.h @@ -27,7 +27,7 @@ #ifndef _TESTUTILS_H #define _TESTUTILS_H -#include <event2/dns.h> +#include "event2/dns.h" struct regress_dns_server_table { const char *q; diff --git a/test/test-changelist.c b/test/test-changelist.c index 0242a10b..f368f1cb 100644 --- a/test/test-changelist.c +++ b/test/test-changelist.c @@ -25,8 +25,8 @@ #include <string.h> #include <errno.h> -#include <event2/event.h> -#include <event2/util.h> +#include "event2/event.h" +#include "event2/util.h" #include <time.h> struct cpu_usage_timer { diff --git a/test/test-ratelim.c b/test/test-ratelim.c index 1f280e9d..824434e0 100644 --- a/test/test-ratelim.c +++ b/test/test-ratelim.c @@ -39,12 +39,12 @@ #endif #include <signal.h> -#include <event2/bufferevent.h> -#include <event2/buffer.h> -#include <event2/event.h> -#include <event2/util.h> -#include <event2/listener.h> -#include <event2/thread.h> +#include "event2/bufferevent.h" +#include "event2/buffer.h" +#include "event2/event.h" +#include "event2/util.h" +#include "event2/listener.h" +#include "event2/thread.h" static int cfg_verbose = 0; static int cfg_help = 0; diff --git a/test/test-time.c b/test/test-time.c index acb4421a..5628696e 100644 --- a/test/test-time.c +++ b/test/test-time.c @@ -16,9 +16,9 @@ #endif #include <errno.h> -#include <event2/event.h> -#include <event2/event_compat.h> -#include <event2/event_struct.h> +#include "event2/event.h" +#include "event2/event_compat.h" +#include "event2/event_struct.h" int called = 0; diff --git a/test/test-weof.c b/test/test-weof.c index 0ea4d971..b20f27e1 100644 --- a/test/test-weof.c +++ b/test/test-weof.c @@ -24,10 +24,10 @@ #include <signal.h> #include <errno.h> -#include <event2/event.h> -#include <event2/event_struct.h> -#include <event2/event_compat.h> -#include <event2/util.h> +#include "event2/event.h" +#include "event2/event_struct.h" +#include "event2/event_compat.h" +#include "event2/util.h" #ifdef _EVENT___func__ #define __func__ _EVENT___func__ diff --git a/test/tinytest_local.h b/test/tinytest_local.h index bc90d0e0..9f80fcd7 100644 --- a/test/tinytest_local.h +++ b/test/tinytest_local.h @@ -3,7 +3,7 @@ #include <winsock2.h> #endif -#include <event2/util.h> +#include "event2/util.h" #include "util-internal.h" #define snprintf evutil_snprintf |