Lines Matching refs:os
28 import os
45 if os.path.isfile(conf_path):
52 TESTS_HTTPD_PATH = os.path.dirname(os.path.dirname(__file__))
53 TOP_PATH = os.path.join(os.getcwd(), os.path.pardir)
54 DEF_CONFIG = init_config_from(os.path.join(TOP_PATH, 'tests', 'http', 'config.ini'))
55 CURL = os.path.join(TOP_PATH, 'src', 'curl')
62 self.gen_dir = os.path.join(self.tests_dir, 'gen')
63 self.project_dir = os.path.dirname(os.path.dirname(self.tests_dir))
68 if 'CURL' in os.environ:
69 self.curl = os.environ['CURL']
139 self.htdocs_dir = os.path.join(self.gen_dir, 'htdocs')
255 return os.path.isfile(self.httpd) and \
256 os.path.isfile(self.apachectl) and \
258 os.path.isfile(self.apxs)
263 if not os.path.isfile(self.httpd):
265 if not os.path.isfile(self.apachectl):
269 if not os.path.isfile(self.apxs):
432 ca_dir = os.path.join(self.CONFIG.gen_dir, 'ca')
439 os.makedirs(self.gen_dir, exist_ok=True)
440 os.makedirs(self.htdocs_dir, exist_ok=True)
587 return "CURL_DBG_SOCK_WBLOCK" in os.environ or \
588 "CURL_DBG_SOCK_WPARTIAL" in os.environ
592 return "CURL_CI" in os.environ
609 fpath = os.path.join(indir, fname)