~apachelogger/software-properties/python-apt-is-like

« back to all changes in this revision

Viewing changes to debian/tests/run-tests

  • Committer: Dimitri John Ledkov
  • Date: 2016-09-12 11:49:08 UTC
  • Revision ID: xnox@ubuntu.com-20160912114908-rocgipvdfr40kwqr
Initialise ~/.gnupg otherwise dirmngr/gnupg-agent fail in the
autopkgtest.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
# the test work in other locales too.
14
14
export LC_ALL=C.UTF-8
15
15
 
 
16
# dirmngr and/or gpg-agent fail without ~/.gnupg present maybe some
 
17
# places should be properly declaring homedir, instead of just
 
18
# keyrings
 
19
gpg1 -k >/dev/null 2>&1
 
20
 
16
21
code=0
17
22
if [ "$TMPDIR" ]; then
18
23
        env -u TMPDIR xvfb-run -e "$tmpdir/xvfb.log" sh -ec "TMPDIR=\"$TMPDIR\" python setup.py test && python3 setup.py test" || code="$?"