[Qa-jenkins-scm] [jenkins.debian.net] 01/01: diffoscope distribution tests: remove confusing whitespaces

Holger Levsen holger at layer-acht.org
Mon Apr 25 14:13:11 UTC 2016


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

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 65ecaccb7049cf180420899fbebe34afae04ee0f
Author: Holger Levsen <holger at layer-acht.org>
Date:   Mon Apr 25 16:12:47 2016 +0200

    diffoscope distribution tests: remove confusing whitespaces
---
 bin/diffoscope_distribution_test.sh | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/bin/diffoscope_distribution_test.sh b/bin/diffoscope_distribution_test.sh
index 45b7f60..2e58f93 100755
--- a/bin/diffoscope_distribution_test.sh
+++ b/bin/diffoscope_distribution_test.sh
@@ -31,7 +31,8 @@ check_pypi() {
 }
 
 check_whohas() {
-	# the following is "broken" as sort doesn't do proper version comparison
+	# the following is "broken" (but good enough for now)
+	# as sort doesn't do proper version comparison
 	DIFFOSCOPE_IN_WHOHAS=$(whohas -d $DISTRIBUTION diffoscope | awk '{print $3}' | sort -u | tail -1)
 	echo
 	echo
@@ -39,12 +40,12 @@ check_whohas() {
 		echo "Yay. diffoscope in Debian has the same version as $DISTRIBUTION has: $DIFFOSCOPE_IN_DEBIAN"
 	elif dpkg --compare-versions "$DIFFOSCOPE_IN_DEBIAN" gt "$DIFFOSCOPE_IN_WHOHAS" ; then
 		echo "Fail: diffoscope in Debian: $DIFFOSCOPE_IN_DEBIAN"
-		echo "Fail: diffoscope in $DISTRIBUTION:   $DIFFOSCOPE_IN_WHOHAS"
+		echo "Fail: diffoscope in $DISTRIBUTION: $DIFFOSCOPE_IN_WHOHAS"
 		exit 1
 	else
 		# FIXME: archlinux package version will be greater than Debian: 52-1 vs 52
 		echo "diffoscope in Debian: $DIFFOSCOPE_IN_DEBIAN"
-		echo "diffoscope in $DISTRIBUTION:   $DIFFOSCOPE_IN_WHOHAS"
+		echo "diffoscope in $DISTRIBUTION: $DIFFOSCOPE_IN_WHOHAS"
 		echo
 		echo "Failure is the default action…"
 		exit 1

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list