This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2go-keyring. commit 8952e42b9cab0053ab7ced66e12076fc9e279055 Author: Mihai Moldovan <ionic@ionic.de> Date: Sun Aug 4 10:15:56 2019 +0200 runtests: use trap and explicit exit statement while switching to using the mktemp command. --- debian/changelog | 2 ++ runtests | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 7fcb64b..437bf29 100644 --- a/debian/changelog +++ b/debian/changelog @@ -21,6 +21,8 @@ x2go-keyring (2014.07.09) UNRELEASED; urgency=medium * t/keyids-complete.t: use find ... -print0 | while read -r -d '' ... instead of for loop. * t/keyids-complete.t: more quotes. + * runtests: use trap and explicit exit statement while switching to using + the mktemp command. * debian/control: - Change maintainer to the mailing list. - Add the old package maintainer to the Uploaders field and myself. diff --git a/runtests b/runtests index e541db7..10cb4a9 100755 --- a/runtests +++ b/runtests @@ -11,8 +11,8 @@ for keyring in "x2go-maintainers-gpg" "x2go-keyring-gpg"; do fi done -export GNUPGHOME=`pwd`/gpghomedir -mkdir "${GNUPGHOME}" +export GNUPGHOME="$(mktemp -d --tempdir="${PWD}" 'gpghomedir.XXXXXXXXXXXXXXXX')" +trap "rm -rf -- '${GNUPGHOME}'" ERR EXIT SIGTERM SIGINT SIGHUP SIGPIPE SIGALRM SIGUSR1 SIGUSR2 chmod 700 "${GNUPGHOME}" for t in t/*.t; do @@ -31,3 +31,5 @@ if [ "${fail}" -gt 0 ]; then else echo "** all tests succeeded" fi + +exit "0" -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2go-keyring.git