Home | History | Annotate | Download | only in test

Lines Matching refs:source_file

876             source_file = os.path.join(tempdir,'source')
878 with open(source_file,'w') as f:
880 os.symlink(source_file, target_file)
882 tar.add(source_file, arcname=os.path.basename(source_file))
906 source_file = os.path.join(tempdir,'source')
908 with open(source_file,'w') as f:
910 os.symlink(source_file, target_file)
915 os.unlink(source_file)
936 source_file = os.path.join(tempdir,'source')
938 with open(source_file,'w') as f:
940 os.link(source_file, target_file)
942 tar.add(source_file, arcname=os.path.basename(source_file))