You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by an...@apache.org on 2017/12/01 22:38:26 UTC

[1/4] mesos git commit: Removed `os/realpath.hpp` from `posix/os.hpp`.

Repository: mesos
Updated Branches:
  refs/heads/master cc8610be4 -> 6cf64ed9c


Removed `os/realpath.hpp` from `posix/os.hpp`.

This is part of a clean-up chain to fix the problem where `stout/os.hpp`
previously made `os::realpath()` available, but it was instead moved to
its own header. Instead, files must include what is used, and so include
the `realpath.hpp` header.

Since `posix/os.hpp` doesn't use `os::realpath()`, its inclusion of
`os/realpath.hpp` was removed, and instead code using the function was
fixed to include the header directly.

Note that this now matches `windows/os.hpp`, which also does not include
`realpath.hpp`. The same pattern should be followed for other APIs as
needed.

Review: https://reviews.apache.org/r/64255


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/0c867253
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/0c867253
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/0c867253

Branch: refs/heads/master
Commit: 0c867253134d9b2b983188431facccc06ba3dac5
Parents: cc8610b
Author: Andrew Schwartzmeyer <an...@schwartzmeyer.com>
Authored: Fri Dec 1 10:07:33 2017 -0800
Committer: Andrew Schwartzmeyer <an...@schwartzmeyer.com>
Committed: Fri Dec 1 11:49:27 2017 -0800

----------------------------------------------------------------------
 3rdparty/stout/include/stout/posix/os.hpp    | 1 -
 3rdparty/stout/tests/os/filesystem_tests.cpp | 1 +
 3rdparty/stout/tests/os_tests.cpp            | 2 +-
 3 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/0c867253/3rdparty/stout/include/stout/posix/os.hpp
----------------------------------------------------------------------
diff --git a/3rdparty/stout/include/stout/posix/os.hpp b/3rdparty/stout/include/stout/posix/os.hpp
index 8511dfd..d1bfa34 100644
--- a/3rdparty/stout/include/stout/posix/os.hpp
+++ b/3rdparty/stout/include/stout/posix/os.hpp
@@ -65,7 +65,6 @@
 #include <stout/os/os.hpp>
 #include <stout/os/permissions.hpp>
 #include <stout/os/read.hpp>
-#include <stout/os/realpath.hpp>
 #include <stout/os/rename.hpp>
 #include <stout/os/sendfile.hpp>
 #include <stout/os/signals.hpp>

http://git-wip-us.apache.org/repos/asf/mesos/blob/0c867253/3rdparty/stout/tests/os/filesystem_tests.cpp
----------------------------------------------------------------------
diff --git a/3rdparty/stout/tests/os/filesystem_tests.cpp b/3rdparty/stout/tests/os/filesystem_tests.cpp
index 3946885..57e1dc1 100644
--- a/3rdparty/stout/tests/os/filesystem_tests.cpp
+++ b/3rdparty/stout/tests/os/filesystem_tests.cpp
@@ -29,6 +29,7 @@
 #include <stout/os/ls.hpp>
 #include <stout/os/mkdir.hpp>
 #include <stout/os/read.hpp>
+#include <stout/os/realpath.hpp>
 #include <stout/os/rename.hpp>
 #include <stout/os/rm.hpp>
 #include <stout/os/touch.hpp>

http://git-wip-us.apache.org/repos/asf/mesos/blob/0c867253/3rdparty/stout/tests/os_tests.cpp
----------------------------------------------------------------------
diff --git a/3rdparty/stout/tests/os_tests.cpp b/3rdparty/stout/tests/os_tests.cpp
index 26514f3..93a23a8 100644
--- a/3rdparty/stout/tests/os_tests.cpp
+++ b/3rdparty/stout/tests/os_tests.cpp
@@ -48,7 +48,7 @@
 #include <stout/os/int_fd.hpp>
 #include <stout/os/kill.hpp>
 #include <stout/os/killtree.hpp>
-#include <stout/os/stat.hpp>
+#include <stout/os/realpath.hpp>
 #include <stout/os/stat.hpp>
 #include <stout/os/write.hpp>
 


[4/4] mesos git commit: Included `stout/os/permissions.hpp` for the secret generator.

Posted by an...@apache.org.
Included `stout/os/permissions.hpp` for the secret generator.

The `os::Permissions` started being used in these files in `e1207f9d`,
but not included. On Windows, no other header included it either, and so
the SSL configuration of the build broke.

Review: https://reviews.apache.org/r/64258


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/6cf64ed9
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/6cf64ed9
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/6cf64ed9

Branch: refs/heads/master
Commit: 6cf64ed9cec4aec50a1d62d46e5ab1575f39925d
Parents: e293bd7
Author: Andrew Schwartzmeyer <an...@schwartzmeyer.com>
Authored: Fri Dec 1 10:41:25 2017 -0800
Committer: Andrew Schwartzmeyer <an...@schwartzmeyer.com>
Committed: Fri Dec 1 11:53:35 2017 -0800

----------------------------------------------------------------------
 src/slave/main.cpp    | 2 ++
 src/tests/cluster.cpp | 2 ++
 2 files changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/6cf64ed9/src/slave/main.cpp
----------------------------------------------------------------------
diff --git a/src/slave/main.cpp b/src/slave/main.cpp
index abe48fd..f38fec6 100644
--- a/src/slave/main.cpp
+++ b/src/slave/main.cpp
@@ -42,6 +42,8 @@
 #include <stout/nothing.hpp>
 #include <stout/os.hpp>
 
+#include <stout/os/permissions.hpp>
+
 #ifdef __linux__
 #include <stout/proc.hpp>
 #endif // __linux__

http://git-wip-us.apache.org/repos/asf/mesos/blob/6cf64ed9/src/tests/cluster.cpp
----------------------------------------------------------------------
diff --git a/src/tests/cluster.cpp b/src/tests/cluster.cpp
index b530133..f964bf0 100644
--- a/src/tests/cluster.cpp
+++ b/src/tests/cluster.cpp
@@ -58,6 +58,8 @@
 #include <stout/strings.hpp>
 #include <stout/try.hpp>
 
+#include <stout/os/permissions.hpp>
+
 #ifdef __linux__
 #include "linux/cgroups.hpp"
 #endif


[3/4] mesos git commit: Included `stout/os/realpath.hpp` where `os::realpath()` is used.

Posted by an...@apache.org.
Included `stout/os/realpath.hpp` where `os::realpath()` is used.

Review: https://reviews.apache.org/r/64257


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/e293bd7a
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/e293bd7a
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/e293bd7a

Branch: refs/heads/master
Commit: e293bd7ab314a7d5d567012991ddb5394bb50135
Parents: 2fc63bd
Author: Andrew Schwartzmeyer <an...@schwartzmeyer.com>
Authored: Fri Dec 1 10:40:17 2017 -0800
Committer: Andrew Schwartzmeyer <an...@schwartzmeyer.com>
Committed: Fri Dec 1 11:53:23 2017 -0800

----------------------------------------------------------------------
 src/cli/mesos.cpp                                                  | 2 ++
 src/csi/paths.cpp                                                  | 2 ++
 src/examples/balloon_framework.cpp                                 | 2 ++
 src/examples/long_lived_framework.cpp                              | 2 ++
 src/examples/test_framework.cpp                                    | 2 ++
 src/examples/test_http_framework.cpp                               | 2 ++
 src/files/files.cpp                                                | 1 +
 src/linux/cgroups.cpp                                              | 2 ++
 src/linux/systemd.cpp                                              | 2 ++
 src/slave/containerizer/fetcher.cpp                                | 1 +
 src/slave/containerizer/mesos/isolators/docker/volume/isolator.cpp | 2 ++
 src/slave/containerizer/mesos/isolators/filesystem/linux.cpp       | 1 +
 src/slave/containerizer/mesos/isolators/filesystem/posix.cpp       | 2 ++
 src/slave/containerizer/mesos/isolators/network/cni/cni.cpp        | 1 +
 src/slave/containerizer/mesos/isolators/volume/host_path.cpp       | 1 +
 src/slave/containerizer/mesos/launch.cpp                           | 1 +
 src/slave/containerizer/mesos/provisioner/appc/store.cpp           | 2 ++
 src/slave/containerizer/mesos/provisioner/backends/overlay.cpp     | 2 ++
 src/slave/containerizer/mesos/provisioner/provisioner.cpp          | 2 ++
 src/slave/slave.cpp                                                | 2 ++
 src/slave/state.cpp                                                | 2 ++
 src/tests/containerizer/provisioner_appc_tests.cpp                 | 2 ++
 src/tests/containerizer/rootfs.cpp                                 | 1 +
 src/tests/gc_tests.cpp                                             | 2 ++
 src/tests/script.cpp                                               | 2 ++
 25 files changed, 43 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/e293bd7a/src/cli/mesos.cpp
----------------------------------------------------------------------
diff --git a/src/cli/mesos.cpp b/src/cli/mesos.cpp
index b347f39..c49e83b 100644
--- a/src/cli/mesos.cpp
+++ b/src/cli/mesos.cpp
@@ -26,6 +26,8 @@
 #include <stout/strings.hpp>
 #include <stout/try.hpp>
 
+#include <stout/os/realpath.hpp>
+
 using std::cerr;
 using std::cout;
 using std::endl;

http://git-wip-us.apache.org/repos/asf/mesos/blob/e293bd7a/src/csi/paths.cpp
----------------------------------------------------------------------
diff --git a/src/csi/paths.cpp b/src/csi/paths.cpp
index 6caefc5..60fca88 100644
--- a/src/csi/paths.cpp
+++ b/src/csi/paths.cpp
@@ -28,6 +28,8 @@
 #include <stout/stringify.hpp>
 #include <stout/strings.hpp>
 
+#include <stout/os/realpath.hpp>
+
 namespace http = process::http;
 namespace unix = process::network::unix;
 

http://git-wip-us.apache.org/repos/asf/mesos/blob/e293bd7a/src/examples/balloon_framework.cpp
----------------------------------------------------------------------
diff --git a/src/examples/balloon_framework.cpp b/src/examples/balloon_framework.cpp
index 0136344..2895253 100644
--- a/src/examples/balloon_framework.cpp
+++ b/src/examples/balloon_framework.cpp
@@ -41,6 +41,8 @@
 #include <stout/protobuf.hpp>
 #include <stout/stringify.hpp>
 
+#include <stout/os/realpath.hpp>
+
 #include "common/parse.hpp"
 
 #include "logging/logging.hpp"

http://git-wip-us.apache.org/repos/asf/mesos/blob/e293bd7a/src/examples/long_lived_framework.cpp
----------------------------------------------------------------------
diff --git a/src/examples/long_lived_framework.cpp b/src/examples/long_lived_framework.cpp
index e674215..a8516a7 100644
--- a/src/examples/long_lived_framework.cpp
+++ b/src/examples/long_lived_framework.cpp
@@ -45,6 +45,8 @@
 #include <stout/protobuf.hpp>
 #include <stout/stringify.hpp>
 
+#include <stout/os/realpath.hpp>
+
 #include "common/parse.hpp"
 
 #include "logging/logging.hpp"

http://git-wip-us.apache.org/repos/asf/mesos/blob/e293bd7a/src/examples/test_framework.cpp
----------------------------------------------------------------------
diff --git a/src/examples/test_framework.cpp b/src/examples/test_framework.cpp
index c6a293e..d60adff 100644
--- a/src/examples/test_framework.cpp
+++ b/src/examples/test_framework.cpp
@@ -32,6 +32,8 @@
 #include <stout/path.hpp>
 #include <stout/stringify.hpp>
 
+#include <stout/os/realpath.hpp>
+
 #include "logging/flags.hpp"
 #include "logging/logging.hpp"
 

http://git-wip-us.apache.org/repos/asf/mesos/blob/e293bd7a/src/examples/test_http_framework.cpp
----------------------------------------------------------------------
diff --git a/src/examples/test_http_framework.cpp b/src/examples/test_http_framework.cpp
index 3730358..76b64fe 100644
--- a/src/examples/test_http_framework.cpp
+++ b/src/examples/test_http_framework.cpp
@@ -42,6 +42,8 @@
 #include <stout/path.hpp>
 #include <stout/stringify.hpp>
 
+#include <stout/os/realpath.hpp>
+
 #include "common/status_utils.hpp"
 
 #include "logging/flags.hpp"

http://git-wip-us.apache.org/repos/asf/mesos/blob/e293bd7a/src/files/files.cpp
----------------------------------------------------------------------
diff --git a/src/files/files.cpp b/src/files/files.cpp
index fbff207..ad2189b 100644
--- a/src/files/files.cpp
+++ b/src/files/files.cpp
@@ -53,6 +53,7 @@
 #include <stout/unreachable.hpp>
 
 #include <stout/os/constants.hpp>
+#include <stout/os/realpath.hpp>
 
 #include "common/http.hpp"
 

http://git-wip-us.apache.org/repos/asf/mesos/blob/e293bd7a/src/linux/cgroups.cpp
----------------------------------------------------------------------
diff --git a/src/linux/cgroups.cpp b/src/linux/cgroups.cpp
index 0a7bb89..cdd0f40 100644
--- a/src/linux/cgroups.cpp
+++ b/src/linux/cgroups.cpp
@@ -64,6 +64,8 @@ extern "C" {
 #include <stout/strings.hpp>
 #include <stout/unreachable.hpp>
 
+#include <stout/os/realpath.hpp>
+
 #include "linux/cgroups.hpp"
 #include "linux/fs.hpp"
 

http://git-wip-us.apache.org/repos/asf/mesos/blob/e293bd7a/src/linux/systemd.cpp
----------------------------------------------------------------------
diff --git a/src/linux/systemd.cpp b/src/linux/systemd.cpp
index 6318f48..2444ff4 100644
--- a/src/linux/systemd.cpp
+++ b/src/linux/systemd.cpp
@@ -25,6 +25,8 @@
 #include <stout/strings.hpp>
 #include <stout/try.hpp>
 
+#include <stout/os/realpath.hpp>
+
 #include "linux/cgroups.hpp"
 
 using process::Once;

http://git-wip-us.apache.org/repos/asf/mesos/blob/e293bd7a/src/slave/containerizer/fetcher.cpp
----------------------------------------------------------------------
diff --git a/src/slave/containerizer/fetcher.cpp b/src/slave/containerizer/fetcher.cpp
index 8c4b7e6..89b73b7 100644
--- a/src/slave/containerizer/fetcher.cpp
+++ b/src/slave/containerizer/fetcher.cpp
@@ -38,6 +38,7 @@
 #include <stout/os/exists.hpp>
 #include <stout/os/find.hpp>
 #include <stout/os/killtree.hpp>
+#include <stout/os/realpath.hpp>
 #include <stout/os/read.hpp>
 #include <stout/os/rmdir.hpp>
 

http://git-wip-us.apache.org/repos/asf/mesos/blob/e293bd7a/src/slave/containerizer/mesos/isolators/docker/volume/isolator.cpp
----------------------------------------------------------------------
diff --git a/src/slave/containerizer/mesos/isolators/docker/volume/isolator.cpp b/src/slave/containerizer/mesos/isolators/docker/volume/isolator.cpp
index 134ae5d..6efdc75 100644
--- a/src/slave/containerizer/mesos/isolators/docker/volume/isolator.cpp
+++ b/src/slave/containerizer/mesos/isolators/docker/volume/isolator.cpp
@@ -21,6 +21,8 @@
 
 #include <stout/os.hpp>
 
+#include <stout/os/realpath.hpp>
+
 #include "slave/flags.hpp"
 #include "slave/state.hpp"
 

http://git-wip-us.apache.org/repos/asf/mesos/blob/e293bd7a/src/slave/containerizer/mesos/isolators/filesystem/linux.cpp
----------------------------------------------------------------------
diff --git a/src/slave/containerizer/mesos/isolators/filesystem/linux.cpp b/src/slave/containerizer/mesos/isolators/filesystem/linux.cpp
index f40ded7..aa939e3 100644
--- a/src/slave/containerizer/mesos/isolators/filesystem/linux.cpp
+++ b/src/slave/containerizer/mesos/isolators/filesystem/linux.cpp
@@ -37,6 +37,7 @@
 
 #include <stout/os/shell.hpp>
 #include <stout/os/strerror.hpp>
+#include <stout/os/realpath.hpp>
 
 #include "linux/fs.hpp"
 #include "linux/ns.hpp"

http://git-wip-us.apache.org/repos/asf/mesos/blob/e293bd7a/src/slave/containerizer/mesos/isolators/filesystem/posix.cpp
----------------------------------------------------------------------
diff --git a/src/slave/containerizer/mesos/isolators/filesystem/posix.cpp b/src/slave/containerizer/mesos/isolators/filesystem/posix.cpp
index 270d2aa..6b9f4bb 100644
--- a/src/slave/containerizer/mesos/isolators/filesystem/posix.cpp
+++ b/src/slave/containerizer/mesos/isolators/filesystem/posix.cpp
@@ -23,6 +23,8 @@
 #include <stout/os.hpp>
 #include <stout/path.hpp>
 
+#include <stout/os/realpath.hpp>
+
 #include "slave/paths.hpp"
 
 #include "slave/containerizer/mesos/isolators/filesystem/posix.hpp"

http://git-wip-us.apache.org/repos/asf/mesos/blob/e293bd7a/src/slave/containerizer/mesos/isolators/network/cni/cni.cpp
----------------------------------------------------------------------
diff --git a/src/slave/containerizer/mesos/isolators/network/cni/cni.cpp b/src/slave/containerizer/mesos/isolators/network/cni/cni.cpp
index 1c20700..0eca067 100644
--- a/src/slave/containerizer/mesos/isolators/network/cni/cni.cpp
+++ b/src/slave/containerizer/mesos/isolators/network/cni/cni.cpp
@@ -32,6 +32,7 @@
 #include <stout/strings.hpp>
 
 #include <stout/os/constants.hpp>
+#include <stout/os/realpath.hpp>
 
 #include "common/protobuf_utils.hpp"
 

http://git-wip-us.apache.org/repos/asf/mesos/blob/e293bd7a/src/slave/containerizer/mesos/isolators/volume/host_path.cpp
----------------------------------------------------------------------
diff --git a/src/slave/containerizer/mesos/isolators/volume/host_path.cpp b/src/slave/containerizer/mesos/isolators/volume/host_path.cpp
index 409fc14..3f3f280 100644
--- a/src/slave/containerizer/mesos/isolators/volume/host_path.cpp
+++ b/src/slave/containerizer/mesos/isolators/volume/host_path.cpp
@@ -28,6 +28,7 @@
 
 #include <stout/os/exists.hpp>
 #include <stout/os/mkdir.hpp>
+#include <stout/os/realpath.hpp>
 #include <stout/os/stat.hpp>
 #include <stout/os/touch.hpp>
 

http://git-wip-us.apache.org/repos/asf/mesos/blob/e293bd7a/src/slave/containerizer/mesos/launch.cpp
----------------------------------------------------------------------
diff --git a/src/slave/containerizer/mesos/launch.cpp b/src/slave/containerizer/mesos/launch.cpp
index b1065be..c45a038 100644
--- a/src/slave/containerizer/mesos/launch.cpp
+++ b/src/slave/containerizer/mesos/launch.cpp
@@ -38,6 +38,7 @@
 #include <stout/path.hpp>
 #include <stout/unreachable.hpp>
 
+#include <stout/os/realpath.hpp>
 #include <stout/os/write.hpp>
 
 #include <mesos/mesos.hpp>

http://git-wip-us.apache.org/repos/asf/mesos/blob/e293bd7a/src/slave/containerizer/mesos/provisioner/appc/store.cpp
----------------------------------------------------------------------
diff --git a/src/slave/containerizer/mesos/provisioner/appc/store.cpp b/src/slave/containerizer/mesos/provisioner/appc/store.cpp
index 9e65990..c1f9661 100644
--- a/src/slave/containerizer/mesos/provisioner/appc/store.cpp
+++ b/src/slave/containerizer/mesos/provisioner/appc/store.cpp
@@ -32,6 +32,8 @@
 #include <stout/os.hpp>
 #include <stout/path.hpp>
 
+#include <stout/os/realpath.hpp>
+
 #include "slave/containerizer/mesos/provisioner/appc/cache.hpp"
 #include "slave/containerizer/mesos/provisioner/appc/fetcher.hpp"
 #include "slave/containerizer/mesos/provisioner/appc/paths.hpp"

http://git-wip-us.apache.org/repos/asf/mesos/blob/e293bd7a/src/slave/containerizer/mesos/provisioner/backends/overlay.cpp
----------------------------------------------------------------------
diff --git a/src/slave/containerizer/mesos/provisioner/backends/overlay.cpp b/src/slave/containerizer/mesos/provisioner/backends/overlay.cpp
index 3149220..54d3e43 100644
--- a/src/slave/containerizer/mesos/provisioner/backends/overlay.cpp
+++ b/src/slave/containerizer/mesos/provisioner/backends/overlay.cpp
@@ -23,6 +23,8 @@
 #include <stout/fs.hpp>
 #include <stout/os.hpp>
 
+#include <stout/os/realpath.hpp>
+
 #include "linux/fs.hpp"
 
 #include "slave/containerizer/mesos/provisioner/backends/overlay.hpp"

http://git-wip-us.apache.org/repos/asf/mesos/blob/e293bd7a/src/slave/containerizer/mesos/provisioner/provisioner.cpp
----------------------------------------------------------------------
diff --git a/src/slave/containerizer/mesos/provisioner/provisioner.cpp b/src/slave/containerizer/mesos/provisioner/provisioner.cpp
index 81d2f93..b90807c 100644
--- a/src/slave/containerizer/mesos/provisioner/provisioner.cpp
+++ b/src/slave/containerizer/mesos/provisioner/provisioner.cpp
@@ -37,6 +37,8 @@
 #include <stout/stringify.hpp>
 #include <stout/uuid.hpp>
 
+#include <stout/os/realpath.hpp>
+
 #ifdef __linux__
 #include "linux/fs.hpp"
 #endif

http://git-wip-us.apache.org/repos/asf/mesos/blob/e293bd7a/src/slave/slave.cpp
----------------------------------------------------------------------
diff --git a/src/slave/slave.cpp b/src/slave/slave.cpp
index 3896e43..c07e25f 100644
--- a/src/slave/slave.cpp
+++ b/src/slave/slave.cpp
@@ -70,6 +70,8 @@
 #include <stout/utils.hpp>
 #include <stout/uuid.hpp>
 
+#include <stout/os/realpath.hpp>
+
 #include "authentication/cram_md5/authenticatee.hpp"
 
 #include "common/build.hpp"

http://git-wip-us.apache.org/repos/asf/mesos/blob/e293bd7a/src/slave/state.cpp
----------------------------------------------------------------------
diff --git a/src/slave/state.cpp b/src/slave/state.cpp
index d49c38e..3396157 100644
--- a/src/slave/state.cpp
+++ b/src/slave/state.cpp
@@ -42,6 +42,8 @@
 #include <stout/os/realpath.hpp>
 #include <stout/os/stat.hpp>
 
+#include <stout/os/realpath.hpp>
+
 #include "common/resources_utils.hpp"
 
 #include "messages/messages.hpp"

http://git-wip-us.apache.org/repos/asf/mesos/blob/e293bd7a/src/tests/containerizer/provisioner_appc_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/containerizer/provisioner_appc_tests.cpp b/src/tests/containerizer/provisioner_appc_tests.cpp
index 9c4b685..fc1335c 100644
--- a/src/tests/containerizer/provisioner_appc_tests.cpp
+++ b/src/tests/containerizer/provisioner_appc_tests.cpp
@@ -29,6 +29,8 @@
 #include <stout/stringify.hpp>
 #include <stout/uuid.hpp>
 
+#include <stout/os/realpath.hpp>
+
 #include <stout/tests/utils.hpp>
 
 #include <mesos/appc/spec.hpp>

http://git-wip-us.apache.org/repos/asf/mesos/blob/e293bd7a/src/tests/containerizer/rootfs.cpp
----------------------------------------------------------------------
diff --git a/src/tests/containerizer/rootfs.cpp b/src/tests/containerizer/rootfs.cpp
index fe9252d..83662fc 100644
--- a/src/tests/containerizer/rootfs.cpp
+++ b/src/tests/containerizer/rootfs.cpp
@@ -23,6 +23,7 @@
 #include <stout/os.hpp>
 #include <stout/strings.hpp>
 
+#include <stout/os/realpath.hpp>
 #include <stout/os/stat.hpp>
 
 #include "linux/ldd.hpp"

http://git-wip-us.apache.org/repos/asf/mesos/blob/e293bd7a/src/tests/gc_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/gc_tests.cpp b/src/tests/gc_tests.cpp
index 6f055b5..673fdd8 100644
--- a/src/tests/gc_tests.cpp
+++ b/src/tests/gc_tests.cpp
@@ -40,6 +40,8 @@
 #include <stout/os.hpp>
 #include <stout/path.hpp>
 
+#include <stout/os/realpath.hpp>
+
 #ifdef __linux__
 #include "linux/fs.hpp"
 #endif

http://git-wip-us.apache.org/repos/asf/mesos/blob/e293bd7a/src/tests/script.cpp
----------------------------------------------------------------------
diff --git a/src/tests/script.cpp b/src/tests/script.cpp
index 8d40e01..9823e33 100644
--- a/src/tests/script.cpp
+++ b/src/tests/script.cpp
@@ -27,6 +27,8 @@
 #include <stout/stringify.hpp>
 #include <stout/strings.hpp>
 
+#include <stout/os/realpath.hpp>
+
 #include <stout/os/constants.hpp>
 
 #include "common/status_utils.hpp"


[2/4] mesos git commit: Included `stout/os/realpath.hpp` where `os::realpath()` is used.

Posted by an...@apache.org.
Included `stout/os/realpath.hpp` where `os::realpath()` is used.

Review: https://reviews.apache.org/r/64256


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/2fc63bdb
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/2fc63bdb
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/2fc63bdb

Branch: refs/heads/master
Commit: 2fc63bdb409e4c134ab1047c74f81ea421efc267
Parents: 0c86725
Author: Andrew Schwartzmeyer <an...@schwartzmeyer.com>
Authored: Fri Dec 1 10:11:00 2017 -0800
Committer: Andrew Schwartzmeyer <an...@schwartzmeyer.com>
Committed: Fri Dec 1 11:49:37 2017 -0800

----------------------------------------------------------------------
 3rdparty/libprocess/include/process/ssl/gtest.hpp | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/2fc63bdb/3rdparty/libprocess/include/process/ssl/gtest.hpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/include/process/ssl/gtest.hpp b/3rdparty/libprocess/include/process/ssl/gtest.hpp
index b368eda..9536e72 100644
--- a/3rdparty/libprocess/include/process/ssl/gtest.hpp
+++ b/3rdparty/libprocess/include/process/ssl/gtest.hpp
@@ -36,6 +36,8 @@
 #include <stout/option.hpp>
 #include <stout/try.hpp>
 #include <stout/result.hpp>
+
+#include <stout/os/realpath.hpp>
 #endif // USE_SSL_SOCKET
 
 #include <stout/tests/utils.hpp>