aboutsummaryrefslogtreecommitdiff
path: root/tests/component/deb/test_buildpackage.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2016-07-03 19:41:26 +0200
committerGuido Günther <agx@sigxcpu.org>2016-07-04 14:09:58 +0200
commitd681e932b63a21aeaa7d07f4bfb533b583e4c1ae (patch)
tree4f04c067c610426d253a0b1c03cc6cc810a89f31 /tests/component/deb/test_buildpackage.py
parent7621268d39080f467f30465f4955b7c85fe37bca (diff)
Use 'component' and 'additional tarball'
since this is what dpkg-source(1) uses. Git-Dch: Ignore
Diffstat (limited to 'tests/component/deb/test_buildpackage.py')
-rw-r--r--tests/component/deb/test_buildpackage.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/component/deb/test_buildpackage.py b/tests/component/deb/test_buildpackage.py
index 19dfa82..fe1e140 100644
--- a/tests/component/deb/test_buildpackage.py
+++ b/tests/component/deb/test_buildpackage.py
@@ -106,7 +106,7 @@ class TestBuildpackage(ComponentTestBase):
"GBP_BRANCH",
"GBP_SHA1"])
- def test_subtarball_generation(self):
+ def test_component_generation(self):
"""Test that generating tarball and additional tarball works without pristine-tar"""
pkg = 'hello-debhelper'
dsc = self._dsc_name(pkg, '2.8-1', 'dsc-3.0-additional-tarballs')
@@ -120,7 +120,7 @@ class TestBuildpackage(ComponentTestBase):
for t in tarballs:
self.assertFalse(os.path.exists(t), "Tarball %s must not exist" % t)
ret = buildpackage(['arg0',
- '--git-subtarball=foo',
+ '--git-component=foo',
'--git-no-pristine-tar',
'--git-posttag=printenv > posttag.out',
'--git-builder=touch builder-run.stamp',
@@ -129,7 +129,7 @@ class TestBuildpackage(ComponentTestBase):
for t in tarballs:
self.assertTrue(os.path.exists(t), "Tarball %s not found" % t)
- def test_pristinetar_subtarball_generation(self):
+ def test_pristinetar_component_generation(self):
"""Test that generating tarball and additional tarball works with pristine-tar"""
pkg = 'hello-debhelper'
dsc = self._dsc_name(pkg, '2.8-1', 'dsc-3.0-additional-tarballs')
@@ -143,7 +143,7 @@ class TestBuildpackage(ComponentTestBase):
for t in tarballs:
self.assertFalse(os.path.exists(t), "Tarball %s must not exist" % t)
ret = buildpackage(['arg0',
- '--git-subtarball=foo',
+ '--git-component=foo',
'--git-pristine-tar',
'--git-posttag=printenv > posttag.out',
'--git-builder=touch builder-run.stamp',