Lines Matching refs:tempdir
920 tempdir = os.path.join(TEMPDIR, "exclude")
921 os.mkdir(tempdir)
924 name = os.path.join(tempdir, name)
933 tar.add(tempdir, arcname="empty_dir", exclude=exclude)
944 shutil.rmtree(tempdir)
947 tempdir = os.path.join(TEMPDIR, "filter")
948 os.mkdir(tempdir)
951 name = os.path.join(tempdir, name)
963 tar.add(tempdir, arcname="empty_dir", filter=filter)
976 shutil.rmtree(tempdir)
1053 tempdir = os.path.join(TEMPDIR, "testsymlinks")
1055 os.mkdir(tempdir)
1057 source_file = os.path.join(tempdir,'source')
1058 target_file = os.path.join(tempdir,'symlink')
1070 tar.extractall(path=tempdir)
1077 shutil.rmtree(tempdir)
1083 tempdir = os.path.join(TEMPDIR, "testsymlinks")
1085 os.mkdir(tempdir)
1087 source_file = os.path.join(tempdir,'source')
1088 target_file = os.path.join(tempdir,'symlink')
1101 tar.extractall(path=tempdir)
1108 shutil.rmtree(tempdir)
1113 tempdir = os.path.join(TEMPDIR, "testsymlinks")
1115 os.mkdir(tempdir)
1117 source_file = os.path.join(tempdir,'source')
1118 target_file = os.path.join(tempdir,'symlink')
1130 tar.extractall(path=tempdir)
1137 shutil.rmtree(tempdir)