Lines Matching refs:os
29 import os
117 self._stdoutfile = os.path.join(self._run_dir, 'tcpdump.out')
118 self._stderrfile = os.path.join(self._run_dir, 'tcpdump.err')
469 self._curl = os.environ['CURL'] if 'CURL' in os.environ else env.curl
470 self._run_dir = run_dir if run_dir else os.path.join(env.gen_dir, 'curl')
486 return os.path.join(self.run_dir, f'download_{i}.data')
489 if os.path.exists(path):
490 return os.remove(path)
493 if os.path.exists(path):
497 if not os.path.exists(path):
498 return os.makedirs(path)
745 return os.path.join(self._run_dir, f'download_{idx}.data')
848 if 'CURL_TEST_EVENT' in os.environ: