Searched refs:crash_dir (Results 1 – 3 of 3) sorted by relevance
/external/autotest/client/cros/crash/ |
D | user_crash_test.py | 319 def _check_crash_directory_permissions(self, crash_dir): argument 320 stat_info = os.stat(crash_dir) 325 if crash_dir.startswith('/var/spool/crash'): 327 utils.system('ls -l %s' % crash_dir) 328 for f in os.listdir(crash_dir): 330 os.path.join(crash_dir, f)) 344 (expected_user, expected_group, crash_dir, user, group)) 348 (crash_dir, ("%o" % m for m in permitted_modes), mode)) 412 crash_dir = self._get_crash_dir(username, self._force_user_crash_dir) 413 crash_dir = self._canonicalize_crash_dir(crash_dir) [all …]
|
D | crash_test.py | 290 def _canonicalize_crash_dir(self, crash_dir): argument 296 match = re.match(self._USER_CRASH_DIR_REGEX, crash_dir) 297 return ('/home/user/%s/crash' % match.group(1)) if match else crash_dir
|
/external/autotest/client/site_tests/logging_UserCrash/ |
D | logging_UserCrash.py | 94 crash_dir = self._get_crash_dir(username) 96 'reports' % (crash_dir, _MAX_CRASH_DIRECTORY_SIZE)) 108 crash_dir_size = len(os.listdir(crash_dir)) 110 utils.system('ls -l %s' % crash_dir) 127 if crash_dir_size != len(os.listdir(crash_dir)): 128 utils.system('ls -l %s' % crash_dir) 130 len(os.listdir(crash_dir)),
|