Lines Matching refs:os
29 import os
67 self._apache_dir = os.path.join(env.gen_dir, 'apache')
68 self._run_dir = os.path.join(self._apache_dir, 'run')
69 self._lock_dir = os.path.join(self._apache_dir, 'locks')
70 self._docs_dir = os.path.join(self._apache_dir, 'docs')
71 self._conf_dir = os.path.join(self._apache_dir, 'conf')
72 self._conf_file = os.path.join(self._conf_dir, 'test.conf')
73 self._logs_dir = os.path.join(self._apache_dir, 'logs')
74 self._error_log = os.path.join(self._logs_dir, 'error_log')
75 self._tmp_dir = os.path.join(self._apache_dir, 'tmp')
76 self._basic_passwords = os.path.join(self._conf_dir, 'basic.passwords')
77 self._digest_passwords = os.path.join(self._conf_dir, 'digest.passwords')
91 if not os.path.exists(self._mods_dir):
105 return os.path.exists(self._cmd)
120 env = os.environ.copy()
122 env['APACHE_RUN_USER'] = os.environ['USER']
148 with open(os.path.join(self._apache_dir, 'xxx'), 'a') as fd:
207 if os.path.exists(path):
208 return os.remove(path)
211 if not os.path.exists(path):
212 return os.makedirs(path)
228 self._mkpath(os.path.join(self._docs_dir, 'two'))
229 with open(os.path.join(self._docs_dir, 'data.json'), 'w') as fd:
234 with open(os.path.join(self._docs_dir, 'two/data.json'), 'w') as fd:
245 self._mkpath(os.path.join(self.docs_dir, 'restricted/digest'))
246 with open(os.path.join(self.docs_dir, 'restricted/digest/data.json'), 'w') as fd:
250 if os.path.exists(os.path.join(self._mods_dir, f'mod_{m}.so')):
382 with open(os.path.join(self._conf_dir, 'mime.types'), 'w') as fd:
465 local_dir = os.path.dirname(inspect.getfile(Httpd))
468 cwd=os.path.join(local_dir, 'mod_curltest'))
473 Httpd.MOD_CURLTEST = os.path.join(