[Debian-ha-commits] [crmsh] 02/02: debian/tests/utils.sh: Update for dpkg behavior on jessie.
Christoph Berg
myon at debian.org
Wed Jun 7 11:42:35 UTC 2017
This is an automated email from the git hooks/post-receive script.
myon pushed a commit to branch jessie-backports
in repository crmsh.
commit c5619ea45199395b17de59bc826cfe1c9de7ec0c
Author: Christoph Berg <christoph.berg at credativ.de>
Date: Wed Jun 7 13:17:12 2017 +0200
debian/tests/utils.sh: Update for dpkg behavior on jessie.
---
debian/changelog | 1 +
debian/tests/utils.sh | 5 ++++-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 21c758d..7c59364 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
crmsh (2.3.2-4~bpo8+1) jessie-backports; urgency=medium
* Rebuild for jessie-backports.
+ * debian/tests/utils.sh: Update for dpkg behavior on jessie.
-- Christoph Berg <christoph.berg at credativ.de> Wed, 07 Jun 2017 12:31:52 +0200
diff --git a/debian/tests/utils.sh b/debian/tests/utils.sh
old mode 100644
new mode 100755
index 038ed19..e23c0e6
--- a/debian/tests/utils.sh
+++ b/debian/tests/utils.sh
@@ -2,8 +2,11 @@
set -ex
+export LC_ALL=C
PKG=less
+dpkg --purge $PKG
+
# package not installed
/usr/share/crmsh/utils/crm_rpmcheck.py $PKG | grep error
@@ -16,7 +19,7 @@ dpkg --status $PKG
/usr/share/crmsh/utils/crm_pkg.py -n $PKG -s latest | grep false
# purge
-/usr/share/crmsh/utils/crm_pkg.py -n $PKG -s removed | grep Purging
+/usr/share/crmsh/utils/crm_pkg.py -n $PKG -s removed | egrep 'Removing|Purging'
/usr/share/crmsh/utils/crm_rpmcheck.py $PKG | grep error
# clean
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-ha/crmsh.git
More information about the Debian-HA-Commits
mailing list