Home
last modified time | relevance | path

Searched refs:crash_dir (Results 1 – 4 of 4) sorted by relevance

/external/autotest/client/cros/crash/
Duser_crash_test.py300 def _check_crash_directory_permissions(self, crash_dir): argument
301 stat_info = os.stat(crash_dir)
306 if crash_dir == '/var/spool/crash':
318 (expected_user, expected_group, crash_dir, user, group))
322 (crash_dir, expected_mode, mode))
382 crash_dir = self._get_crash_dir(username, self._force_user_crash_dir)
385 if os.path.exists(crash_dir):
389 if not os.path.exists(crash_dir):
392 crash_contents = os.listdir(crash_dir)
400 self._check_crash_directory_permissions(crash_dir)
[all …]
Dcrash_test.py322 def _canonicalize_crash_dir(self, crash_dir): argument
328 match = re.match(self._USER_CRASH_DIR_REGEX, crash_dir)
329 return ('/home/user/%s/crash' % match.group(1)) if match else crash_dir
/external/autotest/client/site_tests/logging_UserCrash/
Dlogging_UserCrash.py118 crash_dir = self._get_crash_dir(username)
120 'reports' % (crash_dir, _MAX_CRASH_DIRECTORY_SIZE))
131 crash_dir_size = len(os.listdir(crash_dir))
133 utils.system('ls -l %s' % crash_dir)
150 if crash_dir_size != len(os.listdir(crash_dir)):
151 utils.system('ls -l %s' % crash_dir)
153 len(os.listdir(crash_dir)),
/external/autotest/server/hosts/
Dadb_host.py1963 crash_dir = os.path.join(self.job.resultdir, 'crash')
1965 os.mkdir(crash_dir)
1972 dest = os.path.join(crash_dir, os.path.basename(f))