add test for modules/

This commit is contained in:
Robert Muir 2015-12-03 22:37:27 -05:00
parent da8fe687fc
commit 88c538879b
1 changed files with 2 additions and 0 deletions

View File

@ -111,6 +111,8 @@ public class EvilSecurityTests extends ESTestCase {
assertExactPermissions(new FilePermission(environment.binFile().toString(), "read,readlink"), permissions);
// lib file: ro
assertExactPermissions(new FilePermission(environment.libFile().toString(), "read,readlink"), permissions);
// modules file: ro
assertExactPermissions(new FilePermission(environment.modulesFile().toString(), "read,readlink"), permissions);
// config file: ro
assertExactPermissions(new FilePermission(environment.configFile().toString(), "read,readlink"), permissions);
// scripts file: ro