debian/rules: warn if there are leftover daemon processes after testing
This commit is contained in:
parent
81df52da0e
commit
a15d353b49
|
|
@ -9,6 +9,7 @@ ostree (2016.4-1) UNRELEASED; urgency=medium
|
|||
* Fix ITP bug number in changelog (was #813308, should have been #697477)
|
||||
* debian/control: build-depend on attr, for the tests (only required if
|
||||
/var/tmp supports extended attributes)
|
||||
* debian/rules: warn if there are leftover daemon processes after testing
|
||||
|
||||
-- Simon McVittie <smcv@debian.org> Mon, 28 Mar 2016 12:02:59 +0100
|
||||
|
||||
|
|
|
|||
|
|
@ -24,6 +24,14 @@ override_dh_auto_configure:
|
|||
$(NULL)
|
||||
chmod +x tests/*.js
|
||||
|
||||
override_dh_auto_test:
|
||||
dh_auto_test
|
||||
if pgrep lt-ostree || pgrep --full "gpg-agent --homedir /var/tmp/tap-test."; then \
|
||||
echo "WARNING: daemon processes were leaked"; \
|
||||
pgrep gpg-agent | xargs --no-run-if-empty ps ww; \
|
||||
pgrep lt-ostree | xargs --no-run-if-empty ps ww; \
|
||||
fi
|
||||
|
||||
override_dh_install:
|
||||
rm -f debian/tmp/usr/lib/*/*.la
|
||||
rm -f debian/tmp/usr/lib/ostree/installed-tests/*.la
|
||||
|
|
|
|||
Loading…
Reference in New Issue