Lines Matching refs:root_dir

1345         root_dir, base_dir = self._create_files('')
1356 tarball = make_archive(rel_base_name, 'gztar', root_dir, '.')
1369 tarball = make_archive(rel_base_name, 'tar', root_dir, '.')
1386 root_dir = self.mkdtemp()
1387 dist = os.path.join(root_dir, base_dir)
1395 write_file((root_dir, 'outer'), 'xxx')
1396 return root_dir, base_dir
1402 root_dir, base_dir = self._create_files()
1405 tarball = make_archive(base_name, 'gztar', root_dir, base_dir)
1412 tarball2 = os.path.join(root_dir, 'archive2.tar')
1414 subprocess.check_call(tar_cmd, cwd=root_dir,
1423 tarball = make_archive(base_name, 'tar', root_dir, base_dir)
1429 tarball = make_archive(base_name, 'tar', root_dir, base_dir,
1437 root_dir, base_dir = self._create_files()
1448 res = make_archive(rel_base_name, 'zip', root_dir)
1461 res = make_archive(rel_base_name, 'zip', root_dir, base_dir)
1475 root_dir, base_dir = self._create_files()
1478 archive = make_archive(base_name, 'zip', root_dir, base_dir)
1485 archive2 = os.path.join(root_dir, 'archive2.zip')
1487 subprocess.check_call(zip_cmd, cwd=root_dir,
1502 root_dir, base_dir = self._create_files()
1505 archive = make_archive(base_name, 'zip', root_dir, base_dir)
1513 with os_helper.change_cwd(root_dir):
1538 root_dir, base_dir = self._create_files()
1540 res = make_archive(base_name, 'zip', root_dir, base_dir, owner=owner,
1544 res = make_archive(base_name, 'zip', root_dir, base_dir)
1547 res = make_archive(base_name, 'tar', root_dir, base_dir,
1551 res = make_archive(base_name, 'tar', root_dir, base_dir,
1559 root_dir, base_dir = self._create_files()
1563 with os_helper.change_cwd(root_dir), no_chdir:
1564 archive_name = make_archive(base_name, 'gztar', root_dir, 'dist',
1581 root_dir = self.mkdtemp()
1593 make_archive('xxx', 'xxx', root_dir=root_dir)
1597 self.assertEqual(dirs, [root_dir, current_dir])
1603 root_dir = self.mkdtemp()
1604 with os_helper.change_cwd(root_dir), no_chdir:
1611 root_dir = self.mkdtemp()
1612 with os_helper.change_cwd(root_dir), no_chdir:
1642 root_dir, base_dir = self._create_files()
1643 expected = rlistdir(root_dir)
1647 filename = make_archive(base_name, format, root_dir, base_dir)