[X2Go-Commits] [x2go-keyring] 05/47: t/keyids-complete.t: use pushd/popd instead of cd.
git-admin at x2go.org
git-admin at x2go.org
Sun Aug 4 16:28:13 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 fff9374a21099482e4b65e477c8e65fd98551c7e
Author: Mihai Moldovan <ionic at ionic.de>
Date: Sun Aug 4 09:04:37 2019 +0200
t/keyids-complete.t: use pushd/popd instead of cd.
---
debian/changelog | 1 +
t/keyids-complete.t | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 6c530d3..257fe5c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,6 +16,7 @@ x2go-keyring (2014.07.09) UNRELEASED; urgency=medium
* runtests: use spaces instead of tabs.
* t/keyids-complete.t: use bash.
* t/keyids-complete.t: make return-code an integer.
+ * t/keyids-complete.t: use pushd/popd instead of cd.
* debian/control:
- Change maintainer to the mailing list.
- Add the old package maintainer to the Uploaders field and myself.
diff --git a/t/keyids-complete.t b/t/keyids-complete.t
index 2d243c6..39c6180 100755
--- a/t/keyids-complete.t
+++ b/t/keyids-complete.t
@@ -6,14 +6,14 @@ set -e
typeset -i fail='0'
for keyring in "x2go-maintainers-gpg" "x2go-keyring-gpg"; do
- cd "${keyring}"
+ pushd "${keyring}" >'/dev/null'
for key in 0x*; do
if ! grep -q "^${key} " ../keyids; then
echo "${keyring}: ${key} is not in keyids file."
fail='1'
fi
done
- cd -
+ popd >'/dev/null'
done
exit "${fail}"
--
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