You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by al...@apache.org on 2016/03/24 12:48:03 UTC

[2/3] mesos git commit: Replaced EXIT(1) with EXIT(EXIT_FAILURE) in libprocess.

Replaced EXIT(1) with EXIT(EXIT_FAILURE) in libprocess.

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


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

Branch: refs/heads/master
Commit: e1c9ec4b522056984c38c83830bd53f6e4fbb8f6
Parents: bbe7638
Author: Alexander Rukletsov <ru...@gmail.com>
Authored: Mon Mar 7 14:02:22 2016 +0100
Committer: Alexander Rukletsov <al...@apache.org>
Committed: Thu Mar 24 12:46:56 2016 +0100

----------------------------------------------------------------------
 3rdparty/libprocess/include/process/gmock.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/e1c9ec4b/3rdparty/libprocess/include/process/gmock.hpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/include/process/gmock.hpp b/3rdparty/libprocess/include/process/gmock.hpp
index 15b982f..8b98249 100644
--- a/3rdparty/libprocess/include/process/gmock.hpp
+++ b/3rdparty/libprocess/include/process/gmock.hpp
@@ -275,7 +275,7 @@ public:
   TestsFilter* install()
   {
     if (!started) {
-      EXIT(1)
+      EXIT(EXIT_FAILURE)
         << "To use FUTURE/DROP_MESSAGE/DISPATCH, etc. you need to do the "
         << "following before you invoke RUN_ALL_TESTS():\n\n"
         << "\t::testing::TestEventListeners& listeners =\n"