diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2012-07-12 09:07:47 +0300 |
---|---|---|
committer | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2014-11-14 14:22:10 +0200 |
commit | d0812e2c928457f7048fa57d58fa5eafcf25d018 (patch) | |
tree | 91b2cbca2b95fa42922554de880740b22e7d2540 /tests | |
parent | 97ce288c86ea3e8ad0de8c835d9322ceb4f1997e (diff) | |
download | git-buildpackage-d0812e2c928457f7048fa57d58fa5eafcf25d018.tar.gz git-buildpackage-d0812e2c928457f7048fa57d58fa5eafcf25d018.tar.bz2 git-buildpackage-d0812e2c928457f7048fa57d58fa5eafcf25d018.zip |
Universal configurable base tmpdir for all gbp tools
Adds support for a configurable tmpdir under which all gbp tools now
create their temporary directories and files.
NOTE: an exception is git-import-dscs which doesn't use the common
configuration system.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/04_test_submodules.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/04_test_submodules.py b/tests/04_test_submodules.py index 4b072201..1b45c86f 100644 --- a/tests/04_test_submodules.py +++ b/tests/04_test_submodules.py @@ -107,12 +107,12 @@ def test_create_tarballs(): """Create an upstream tarball""" # Tarball with submodules changelog = { "Source": "test", "Upstream-Version": "0.1" } - ok_(buildpackage.git_archive(REPO, changelog, str(TMPDIR), "HEAD", "bzip2", - "9", True)) + ok_(buildpackage.git_archive(REPO, changelog, str(TMPDIR), str(TMPDIR), + "HEAD", "bzip2", "9", True)) # Tarball without submodules changelog = { "Source": "test", "Upstream-Version": "0.2" } - ok_(buildpackage.git_archive(REPO, changelog, str(TMPDIR), "HEAD", "bzip2", - "9", False)) + ok_(buildpackage.git_archive(REPO, changelog, str(TMPDIR), str(TMPDIR), + "HEAD", "bzip2", "9", False)) def test_check_tarfiles(): """Check the contents of the created tarfile""" |