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 2016/08/08 16:51:29 UTC

mesos git commit: Fixed two typos in port mapping isolator tests.

Repository: mesos
Updated Branches:
  refs/heads/master 3a2a68522 -> 4aca731d3


Fixed two typos in port mapping isolator tests.


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

Branch: refs/heads/master
Commit: 4aca731d30da8e1da64f1636d4873c2c6941563f
Parents: 3a2a685
Author: Jie Yu <yu...@gmail.com>
Authored: Mon Aug 8 09:50:43 2016 -0700
Committer: Jie Yu <yu...@gmail.com>
Committed: Mon Aug 8 09:50:47 2016 -0700

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


http://git-wip-us.apache.org/repos/asf/mesos/blob/4aca731d/src/tests/containerizer/port_mapping_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/containerizer/port_mapping_tests.cpp b/src/tests/containerizer/port_mapping_tests.cpp
index 94d6d75..dddcb63 100644
--- a/src/tests/containerizer/port_mapping_tests.cpp
+++ b/src/tests/containerizer/port_mapping_tests.cpp
@@ -1502,7 +1502,7 @@ TEST_F(PortMappingIsolatorTest, ROOT_NC_SmallEgressLimit)
   // neither 'ports' nor 'ephemeral_ports', which makes it a good port
   // to use on the host.
   ostringstream command1;
-  command1 << "nc -l localhost " << invalidPort << " > /devnull";
+  command1 << "nc -l localhost " << invalidPort << " > /dev/null";
   Try<Subprocess> s = subprocess(command1.str().c_str());
   CHECK_SOME(s);
 
@@ -1666,7 +1666,7 @@ TEST_F(PortMappingIsolatorTest, ROOT_NC_PortMappingStatistics)
   // connections to the localhost IP are filtered out when retrieving
   // the RTT information inside containers.
   ostringstream command1;
-  command1 << "nc -l " << hostIP << " " << invalidPort << " > /devnull";
+  command1 << "nc -l " << hostIP << " " << invalidPort << " > /dev/null";
   Try<Subprocess> s = subprocess(command1.str().c_str());
   CHECK_SOME(s);