diff options
author | Nicolas Noble <pixel@nobis-crew.org> | 2015-03-15 20:05:24 -0700 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2015-03-16 04:27:02 +0100 |
commit | f358573091ef9c14c39ea56d9d9883410a533992 (patch) | |
tree | 74e7d4a57f255241dc5f285445157b131ce2a4d8 /test/core | |
parent | 764971354c530598c32ca2fc133a5350283eeb57 (diff) |
FreeBSD preliminary work.
-) You can't assume bash is installed. Scripts needs to be cleaned out of bashisms.
-) You can't assume python is in /usr/bin. Use env instead.
-) AF_INET is in sys/socket.h
-) Added port_platform's basic structure for FreeBSD, based off Darwin.
-) FreeBSD doesn't have and doesn't need libdl for OpenSSL.
Diffstat (limited to 'test/core')
-rwxr-xr-x | test/core/end2end/gen_build_json.py | 2 | ||||
-rw-r--r-- | test/core/iomgr/tcp_server_posix_test.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/test/core/end2end/gen_build_json.py b/test/core/end2end/gen_build_json.py index 67fc0a6e53..23349daafe 100755 --- a/test/core/end2end/gen_build_json.py +++ b/test/core/end2end/gen_build_json.py @@ -1,4 +1,4 @@ -#!/usr/bin/python2.7 +#!/usr/bin/env python # Copyright 2015, Google Inc. # All rights reserved. # diff --git a/test/core/iomgr/tcp_server_posix_test.c b/test/core/iomgr/tcp_server_posix_test.c index 2689c3f38e..708444a287 100644 --- a/test/core/iomgr/tcp_server_posix_test.c +++ b/test/core/iomgr/tcp_server_posix_test.c @@ -38,6 +38,7 @@ #include <grpc/support/time.h> #include "test/core/util/test_config.h" +#include <sys/socket.h> #include <netinet/in.h> #include <string.h> #include <unistd.h> |