]> granicus.if.org Git - libevent/commitdiff
tests: Use relative includes ("") instead of system includes (<>)
authorEvan Jones <evanj@mit.edu>
Thu, 2 Dec 2010 19:13:33 +0000 (14:13 -0500)
committerNick Mathewson <nickm@torproject.org>
Fri, 3 Dec 2010 17:57:15 +0000 (12:57 -0500)
16 files changed:
test/bench_http.c
test/bench_httpclient.c
test/regress_dns.c
test/regress_et.c
test/regress_iocp.c
test/regress_listener.c
test/regress_main.c
test/regress_minheap.c
test/regress_ssl.c
test/regress_testutils.c
test/regress_testutils.h
test/test-changelist.c
test/test-ratelim.c
test/test-time.c
test/test-weof.c
test/tinytest_local.h

index 86f42c7b0de699a9876df8a80f8ebc994c162b20..dd3dde896056e22affa88bf2ee7b0f301c6b3690 100644 (file)
 #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);
 
index 0d4baa16ed1e425e175badf64220a54e428d617a..19f025f1887244b125c295e82db4e874c856f2a4 100644 (file)
 #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"
index 756ac165b732e9e103d76f6c6347f56055406caa..255f613a9b15e1ba91a120fb3312127d33a87499 100644 (file)
 #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"
index 561f883fe478d333aad2ea68d0295d8c2c9bd792..9da53fdb1b30f5ea9c7659f0bc235833a4bf71d3 100644 (file)
@@ -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"
 
index f2f438a2cf273f50bf2221ff77ef9d4ecb3a1fc4..60b933043584f216e773ccbd6b1f7287cda6fe5f 100644 (file)
 
 #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>
index 06c3cf5fa7ab951c3ba2dd8a52810f3d4b823b92..1438f3aa9f721258cc30cdfeef188cf989b73ad9 100644 (file)
@@ -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"
index d4265dbb43260019866e947cdce0b93778178e7f..e8b2af94432fa0dcbb7da85c6b68f95b6887cc9c 100644 (file)
 #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"
index b45092effef71dfc29d575caf8c8fc1a143a0f06..6c00c5b85fcb1060143e3c573a50d93054da264c 100644 (file)
@@ -25,7 +25,7 @@
  */
 
 #include <stdlib.h>
-#include <event2/event_struct.h>
+#include "event2/event_struct.h"
 
 #include "tinytest.h"
 #include "tinytest_macros.h"
index 2dc90e24feb99a48d602270012f5c6ce83119dde..e16bf8b3160ec45652c978542c7309c606c48bb8 100644 (file)
 #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"
index 334c41b9e340f348fb87a96fbba75734a46d5617..b5bef1abd7816c1011b6b182c4b43b7e3c21c3f3 100644 (file)
@@ -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"
index 951b40629ddcca0b3808fdb487862a4dee241a29..7f2936aabbd369fc20deb7affda37879a26ceb76 100644 (file)
@@ -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;
index 0242a10b30d2513fd63404eb3f47e5daf2100e01..f368f1cbf2e38a4429fe1a6722574078eae8048f 100644 (file)
@@ -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 {
index 1f280e9dc7828ecd32a2edf2d32a6d5356911f8a..824434e08959616a1de40b2a591799acfcbb910f 100644 (file)
 #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;
index acb4421a6b3c9e8c728683b23920a6a5e043860c..5628696ed43ce50b469f2f3d7ebbed99ab156c77 100644 (file)
@@ -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;
 
index 0ea4d9717d5ba607de39e36249dfcf8dfac430c0..b20f27e1847452d71943baaf976bcf9bd723b625 100644 (file)
 #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__
index bc90d0e00f313488dcf20d9c8d1d14f321e40e2d..9f80fcd73158136a37c8a8bc635b569d5ad38281 100644 (file)
@@ -3,7 +3,7 @@
 #include <winsock2.h>
 #endif
 
-#include <event2/util.h>
+#include "event2/util.h"
 #include "util-internal.h"
 
 #define snprintf evutil_snprintf