diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2012-02-07 18:25:02 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2012-02-12 17:50:57 +0100 |
commit | 24e772577b071cb4297a5ed4b807aab334027144 (patch) | |
tree | ac684c659a4a052547f2cdf26c5567b3a14044d3 /tests/test_PristineTar.py | |
parent | 0c6bd5f4b6c4f5cad29cc99c9aa4034c9d7ecdf7 (diff) | |
download | git-buildpackage-24e772577b071cb4297a5ed4b807aab334027144.tar.gz git-buildpackage-24e772577b071cb4297a5ed4b807aab334027144.tar.bz2 git-buildpackage-24e772577b071cb4297a5ed4b807aab334027144.zip |
Make pristine_tar testcases pass with older git versions
that don't support user-defined output formats (tar filters) in
git-archive.
Diffstat (limited to 'tests/test_PristineTar.py')
-rw-r--r-- | tests/test_PristineTar.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_PristineTar.py b/tests/test_PristineTar.py index cfe51de7..f7eb5881 100644 --- a/tests/test_PristineTar.py +++ b/tests/test_PristineTar.py @@ -71,7 +71,8 @@ def test_create_tarball(): >>> import gbp.deb.git >>> repo = gbp.deb.git.DebianGitRepository(repo_dir) - >>> repo.archive('tar.gz', 'upstream/', '../upstream_1.0.orig.tar.gz', 'upstream') + >>> repo.archive('tar', 'upstream/', '../upstream_1.0.orig.tar', 'upstream') + >>> gbp.command_wrappers.Command('gzip', [ '-n', '%s/../upstream_1.0.orig.tar' % repo_dir])() """ def test_pristine_tar_commit(): |