[autotest] platform_FilePerms: handle debugfs
CQ-DEPEND=Icaf245fb319315020127a2529f42d73e7d9e5b1f
BUG=chromium-os:32632
TEST=yep
Change-Id: Ib5ceb94d91445f3806dc4fdd3d32f28ac667d7cd
Signed-off-by: Elly Fong-Jones <ellyjones@chromium.org>
Previous-Reviewed-on: https://gerrit.chromium.org/gerrit/41845
(cherry picked from commit 9a3f3739605364d2767ec6e3aca14635d2699e82)
Reviewed-on: https://gerrit.chromium.org/gerrit/44047
Reviewed-by: Kees Cook <keescook@chromium.org>
Tested-by: Jorge Lucangeli Obes <jorgelo@chromium.org>
diff --git a/client/site_tests/platform_FilePerms/platform_FilePerms.py b/client/site_tests/platform_FilePerms/platform_FilePerms.py
index 204805b..2a4b693 100644
--- a/client/site_tests/platform_FilePerms/platform_FilePerms.py
+++ b/client/site_tests/platform_FilePerms/platform_FilePerms.py
@@ -12,7 +12,7 @@
import stat
import subprocess
-from autotest_lib.client.bin import utils, test
+from autotest_lib.client.bin import test
from autotest_lib.client.common_lib import error
class platform_FilePerms(test.test):
@@ -57,9 +57,9 @@
'/sys/fs/fuse/connections': { # crosbug.com/32631
'type': 'fusectl',
'options': ['rw', 'relatime']},
- '/sys/kernel/debug': { # crosbug.com/32632
+ '/sys/kernel/debug': {
'type': 'debugfs',
- 'options': ['rw', 'relatime']},
+ 'options': standard_rw_options},
'/tmp': {'type': 'tmpfs', 'options': standard_rw_options},
'/tmp/cgroup/cpu': { # crosbug.com/32633
'type': 'cgroup',