Commit c63e9a86 authored by Francis Dupont's avatar Francis Dupont
Browse files

[master] Merged trac3866 (don't leave the PID file read-only)

parents f54decb0 56c08641
......@@ -190,6 +190,9 @@ TEST_F(PIDFileTest, pidWriteFail) {
// Now try a write to the file, expecting an exception
EXPECT_THROW(pid_file.write(10), PIDFileError);
// Don't forget to restore the write right for the next test
chmod(absolutePath(TESTNAME).c_str(), S_IRUSR | S_IWUSR);
}
/// @brief Test deleting a file that doesn't exist
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment