| Index: sandbox/mac/sandbox_mac_compiler_unittest.mm
|
| diff --git a/sandbox/mac/sandbox_mac_compiler_unittest.mm b/sandbox/mac/sandbox_mac_compiler_unittest.mm
|
| index 0e9ee97c739c5cfa99bcbdb3cf261bbe14b52b36..c04d89f97efea2f77a1336ff6c013ad3a42355f6 100644
|
| --- a/sandbox/mac/sandbox_mac_compiler_unittest.mm
|
| +++ b/sandbox/mac/sandbox_mac_compiler_unittest.mm
|
| @@ -21,6 +21,7 @@ class SandboxMacCompilerTest : public base::MultiProcessTest {};
|
| MULTIPROCESS_TEST_MAIN(BasicProfileProcess) {
|
| std::string profile =
|
| "(version 1)"
|
| + "(deny default (with no-log))"
|
| "(allow file-read* file-write* (literal \"/\"))";
|
|
|
| SandboxCompiler compiler(profile);
|
| @@ -43,6 +44,7 @@ TEST_F(SandboxMacCompilerTest, BasicProfileTest) {
|
| MULTIPROCESS_TEST_MAIN(BasicProfileWithParamProcess) {
|
| std::string profile =
|
| "(version 1)"
|
| + "(deny default (with no-log))"
|
| "(allow file-read* file-write* (literal (param \"DIR\")))";
|
|
|
| SandboxCompiler compiler(profile);
|
| @@ -67,7 +69,7 @@ TEST_F(SandboxMacCompilerTest, BasicProfileTestWithParam) {
|
| MULTIPROCESS_TEST_MAIN(ProfileFunctionalProcess) {
|
| std::string profile =
|
| "(version 1)"
|
| - "(debug deny)"
|
| + "(deny default (with no-log))"
|
| "(allow file-read-data file-read-metadata (literal \"/dev/urandom\"))";
|
|
|
| SandboxCompiler compiler(profile);
|
| @@ -98,7 +100,7 @@ TEST_F(SandboxMacCompilerTest, ProfileFunctionalityTest) {
|
| MULTIPROCESS_TEST_MAIN(ProfileFunctionalTestWithParamsProcess) {
|
| std::string profile =
|
| "(version 1)"
|
| - "(debug deny)"
|
| + "(deny default (with no-log))"
|
| "(if (string=? (param \"ALLOW_FILE\") \"TRUE\")"
|
| " (allow file-read-data file-read-metadata (literal (param "
|
| "\"URANDOM\"))))";
|
|
|