Lines Matching refs:write_file
51 def write_file(path, content, binary=False): function
114 write_file(os.path.join(victim, 'somefile'), 'foo')
147 write_file(file1, 'foo')
169 write_file((tmpdir, "tstfile"), "")
266 write_file((TESTFN, 'foo'), 'foo')
279 write_file(src, 'foo')
280 write_file(dst, 'foo')
312 write_file(src, 'foo')
313 write_file(dst, 'foo')
342 write_file(src, 'foo')
343 write_file(dst, 'foo')
355 write_file(src, 'foo')
359 write_file(dst, 'bar')
397 write_file(file1, 'xxx')
398 write_file(file2, 'xxx')
422 write_file(src, 'foo')
424 write_file(dst, 'bar')
438 write_file(dst, 'bar')
467 write_file(src, src)
470 write_file(dst, dst)
485 write_file(src, 'foo')
491 write_file(dst, 'bar')
505 write_file(src, 'foo')
528 write_file(src, 'foo')
562 write_file(src, 'foo')
577 write_file(src, 'foo')
623 write_file((src_dir, 'test.txt'), '123')
625 write_file((src_dir, 'test_dir', 'test.txt'), '456')
645 write_file((src_dir, 'file.txt'), 'foo')
672 write_file((src_dir, 'test.txt'), '123')
673 write_file((src_dir, 'test.tmp'), '123')
675 write_file((src_dir, 'test_dir', 'test.txt'), '456')
677 write_file((src_dir, 'test_dir2', 'test.txt'), '456')
680 write_file((src_dir, 'test_dir2', 'subdir', 'test.txt'), '456')
681 write_file((src_dir, 'test_dir2', 'subdir2', 'test.py'), '456')
738 write_file((src_dir, 'permissive.txt'), '123')
740 write_file((src_dir, 'restrictive.txt'), '456')
869 write_file((src_dir, 'test.txt'), '123')
871 write_file((src_dir, 'test_dir', 'test.txt'), '456')
888 write_file((src_dir, 'test_dir', 'test.txt'), '456')
924 write_file((tmpdir, fname), 'xxx')
1003 write_file((dist, 'file1'), 'xxx')
1004 write_file((dist, 'file2'), 'xxx')
1006 write_file((dist, 'sub', 'file3'), 'xxx')
1009 write_file((root_dir, 'outer'), 'xxx')
1322 write_file(filename, 'testing chown function')
1380 write_file(src, 'foo')
1392 write_file(src_file, 'foo')
1402 write_file(src_file, 'foo')
1413 write_file(src, 'foo')