summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierce Lopez <pierce.lopez@gmail.com>2021-09-17 01:56:56 -0400
committerPierce Lopez <pierce.lopez@gmail.com>2021-09-17 10:33:55 -0400
commit4f73bf3a468b71e5f4f55442a99086feb863d1b0 (patch)
tree60e96b9328cc13217c3c01b836e9ad07324896d5
parent58d4e50d3c673af49da1e087cbd66991b710df22 (diff)
downloadlibevent-4f73bf3a468b71e5f4f55442a99086feb863d1b0.tar.gz
test: regress_http: skip unix socket parsing tests in windows
windows doesn't do unix sockets
-rw-r--r--test/regress_http.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/regress_http.c b/test/regress_http.c
index 0bd6dbc1..7ecec8b4 100644
--- a/test/regress_http.c
+++ b/test/regress_http.c
@@ -3037,9 +3037,11 @@ http_parse_uri_test(void *arg)
BAD("http://www.example.com:hihi/");
BAD("://www.example.com/");
+#ifndef _WIN32
UNI("http://unix:/tmp/foobar/:/foo");
UNI("http://user:pass@unix:/tmp/foobar/:/foo");
UNI("http://unix:a:");
+#endif
/* bad URIs: joining */
uri = evhttp_uri_new();