diff options
author | Guido Günther <agx@sigxcpu.org> | 2016-10-09 12:52:23 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2016-10-09 13:10:23 +0200 |
commit | 53f9f401245195d385f024f71695674fe61f6602 (patch) | |
tree | d77b2fb53abc427d1aa68d38522d3a11bc397d83 | |
parent | 43beb386357cbf572f7c593644ac497a52e14cb0 (diff) |
test_buildpackage_rpm: check that we fail subtarball generation correctly
-rw-r--r-- | tests/component/rpm/test_buildpackage_rpm.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/component/rpm/test_buildpackage_rpm.py b/tests/component/rpm/test_buildpackage_rpm.py index 388940e0..7658ff47 100644 --- a/tests/component/rpm/test_buildpackage_rpm.py +++ b/tests/component/rpm/test_buildpackage_rpm.py @@ -398,6 +398,9 @@ class TestGbpRpm(RpmRepoTestBase): repo.create('gbp-test-native.repo') eq_(mock_gbp(['--git-submodules', '--git-upstream-tree=%s' % upstr_branch, '--git-ignore-new']), 2) + self._check_log(-2, + ".*Error generating submodules' archives: " + "Unable to archive [0-9a-f]+: fatal: not a tree object") def test_option_submodules_native(self): """Test the --git-submodules option for native packages""" |