aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2019-04-25 17:15:21 +0200
committerGuido Günther <agx@sigxcpu.org>2019-04-25 17:34:00 +0200
commitb12b85a18c4fc06d820e4aabbb2730e39fee917e (patch)
treeef7f33f4a08e3a5c2a74104b00e5b5ccc399ef42 /tests
parentd6ae3931935abb4ddf359ff97a4d708aef8a94fe (diff)
import-orig: Allow to run a post unpack hook
The working directory of the hook is the top temporary directory the tarballs are being unpacked into.
Diffstat (limited to 'tests')
-rw-r--r--tests/component/deb/test_import_orig.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/component/deb/test_import_orig.py b/tests/component/deb/test_import_orig.py
index 58b72c5b..d7136822 100644
--- a/tests/component/deb/test_import_orig.py
+++ b/tests/component/deb/test_import_orig.py
@@ -100,6 +100,7 @@ class TestImportOrig(ComponentTestBase):
orig = self._orig('2.8')
ok_(import_orig(['arg0',
'--postimport=printenv > ../postimport.out',
+ '--postunpack=printenv > ../postunpack.out',
'--no-interactive', '--pristine-tar', orig]) == 0)
self._check_repo_state(repo, 'master', ['master', 'upstream', 'pristine-tar'],
tags=['debian/2.6-2', 'upstream/2.6', 'upstream/2.8'])