Lines Matching refs:os
30 import os
58 fpath = os.path.join(docs_dir, fname)
69 if os.path.exists(vsftpds.docs_dir):
71 if not os.path.exists(vsftpds.docs_dir):
72 os.makedirs(vsftpds.docs_dir)
86 lines = open(os.path.join(curl.run_dir, 'download_#1.data')).readlines()
95 srcfile = os.path.join(vsftpds.docs_dir, f'{docname}')
107 srcfile = os.path.join(vsftpds.docs_dir, f'{docname}')
119 srcfile = os.path.join(vsftpds.docs_dir, f'{docname}')
133 srcfile = os.path.join(env.gen_dir, docname)
134 dstfile = os.path.join(vsftpds.docs_dir, docname)
143 if os.path.exists(path):
144 return os.remove(path)
164 srcfile = os.path.join(env.gen_dir, docname)
165 dstfile = os.path.join(vsftpds.docs_dir, docname)
178 srcfile = os.path.join(env.gen_dir, docname)
179 dstfile = os.path.join(vsftpds.docs_dir, docname)
182 srcsize = os.path.getsize(srcfile)
191 dstsize = os.path.getsize(dstfile)
200 srcfile = os.path.join(vsftpds.docs_dir, f'{docname}')
212 srcfile = os.path.join(env.gen_dir, docname)
213 dstfile = os.path.join(vsftpds.docs_dir, docname)
229 dstfile = os.path.join(vsftpds.docs_dir, docname)
235 assert os.path.exists(dstfile)
244 assert os.path.exists(dfile)
254 srcfile = os.path.join(env.gen_dir, docname)
255 dstfile = os.path.join(vsftpd.docs_dir, docname)
256 assert os.path.exists(srcfile)
257 assert os.path.exists(dstfile)