[X2Go-Commits] [x2go-keyring] 21/47: t/no-expired.t: make exit code variable an integer.

git-admin at x2go.org git-admin at x2go.org
Sun Aug 4 16:28:15 CEST 2019


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2go-keyring.

commit 568e5679171c42dc4da55c6f23dded7adb24b5e8
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Sun Aug 4 14:03:56 2019 +0200

    t/no-expired.t: make exit code variable an integer.
---
 debian/changelog | 1 +
 t/no-expired.t   | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 364420a..436c70a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -34,6 +34,7 @@ x2go-keyring (2014.07.09) UNRELEASED; urgency=medium
   * t/keyids-complete.t: adapt to new layout.
   * t/no-expired.t: switch to bash.
   * t/no-expired.t: improve quoting.
+  * t/no-expired.t: make exit code variable an integer.
   * debian/control:
     - Change maintainer to the mailing list.
     - Add the old package maintainer to the Uploaders field and myself.
diff --git a/t/no-expired.t b/t/no-expired.t
index abce917..7a20174 100755
--- a/t/no-expired.t
+++ b/t/no-expired.t
@@ -11,7 +11,7 @@ find_expired () {
 		'$2 == "e" {print keyring ":\t0x" $5 " expired on " $7}'
 }
 
-fail='0'
+typeset -i fail='0'
 for keyring in 'x2go-maintainers.gpg' 'x2go-keyring.gpg'; do
 	find_expired "${keyring}"
 done

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2go-keyring.git


More information about the x2go-commits mailing list