You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ji...@apache.org on 2015/02/26 02:26:24 UTC

mesos git commit: Fixed the broken build caused by a persistent volume test.

Repository: mesos
Updated Branches:
  refs/heads/master 795a615c7 -> 0520c801b


Fixed the broken build caused by a persistent volume test.


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

Branch: refs/heads/master
Commit: 0520c801b8c2c74012c062b5846e1e94e4f4c1a0
Parents: 795a615
Author: Jie Yu <yu...@gmail.com>
Authored: Wed Feb 25 17:26:02 2015 -0800
Committer: Jie Yu <yu...@gmail.com>
Committed: Wed Feb 25 17:26:02 2015 -0800

----------------------------------------------------------------------
 src/tests/persistent_volume_tests.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/0520c801/src/tests/persistent_volume_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/persistent_volume_tests.cpp b/src/tests/persistent_volume_tests.cpp
index 7ab5646..e739cf5 100644
--- a/src/tests/persistent_volume_tests.cpp
+++ b/src/tests/persistent_volume_tests.cpp
@@ -589,7 +589,7 @@ TEST_F(PersistentVolumeTest, AccessPersistentVolume)
   TaskInfo task = createTask(
       offer.slave_id(),
       taskResources,
-      "echo -n abc > path1/file");
+      "echo abc > path1/file");
 
   Future<TaskStatus> status1;
   Future<TaskStatus> status2;
@@ -632,7 +632,7 @@ TEST_F(PersistentVolumeTest, AccessPersistentVolume)
       "role1",
       "id1");
 
-  EXPECT_SOME_EQ("abc", os::read(path::join(volumePath, "file")));
+  EXPECT_SOME_EQ("abc\n", os::read(path::join(volumePath, "file")));
 
   driver.stop();
   driver.join();