Ignore warnings around removing unknown user in isolator tests.
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/21ed374d Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/21ed374d Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/21ed374d Branch: refs/heads/master Commit: 21ed374dbfb5eedbba147c7ec33f29bc5ba02a34 Parents: 67c994d Author: Timothy Chen <[email protected]> Authored: Wed Jul 15 12:59:46 2015 -0700 Committer: Timothy Chen <[email protected]> Committed: Wed Jul 15 14:26:37 2015 -0700 ---------------------------------------------------------------------- src/tests/isolator_tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/21ed374d/src/tests/isolator_tests.cpp ---------------------------------------------------------------------- diff --git a/src/tests/isolator_tests.cpp b/src/tests/isolator_tests.cpp index a3ed071..c251da3 100644 --- a/src/tests/isolator_tests.cpp +++ b/src/tests/isolator_tests.cpp @@ -1178,7 +1178,7 @@ public: { // Remove the user in case it wasn't cleaned up from a previous // test. - os::system("userdel -r " + UNPRIVILEGED_USERNAME); + os::system("userdel -r " + UNPRIVILEGED_USERNAME + " > /dev/null"); ASSERT_EQ(0, os::system("useradd " + UNPRIVILEGED_USERNAME)); }
