Searched refs:crash_dir (Results 1 – 3 of 3) sorted by relevance
/external/autotest/client/cros/crash/ |
D | user_crash_test.py | 311 def _check_crash_directory_permissions(self, crash_dir): argument 312 stat_info = os.stat(crash_dir) 317 if crash_dir.startswith('/var/spool/crash'): 319 utils.system('ls -l %s' % crash_dir) 320 for f in os.listdir(crash_dir): 322 os.path.join(crash_dir, f)) 336 (expected_user, expected_group, crash_dir, user, group)) 340 (crash_dir, ("%o" % m for m in permitted_modes), mode)) 403 crash_dir = self._get_crash_dir(username, self._force_user_crash_dir) 404 crash_dir = self._canonicalize_crash_dir(crash_dir) [all …]
|
D | crash_test.py | 283 def _canonicalize_crash_dir(self, crash_dir): argument 289 match = re.match(self._USER_CRASH_DIR_REGEX, crash_dir) 290 return ('/home/user/%s/crash' % match.group(1)) if match else crash_dir
|
/external/autotest/client/site_tests/logging_UserCrash/ |
D | logging_UserCrash.py | 139 crash_dir = self._get_crash_dir(username) 141 'reports' % (crash_dir, _MAX_CRASH_DIRECTORY_SIZE)) 152 crash_dir_size = len(os.listdir(crash_dir)) 154 utils.system('ls -l %s' % crash_dir) 171 if crash_dir_size != len(os.listdir(crash_dir)): 172 utils.system('ls -l %s' % crash_dir) 174 len(os.listdir(crash_dir)),
|