summaryrefslogtreecommitdiffstats
path: root/bin/diffoscope_distribution_test.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-04-25 16:12:47 +0200
committerHolger Levsen <holger@layer-acht.org>2016-04-25 16:12:47 +0200
commit65ecaccb7049cf180420899fbebe34afae04ee0f (patch)
tree59d8ba9eba44a36563f5c8144f8f8351fdb6a866 /bin/diffoscope_distribution_test.sh
parent8d168e24d040068ee8e3b71ef564e3c1f6a3b9da (diff)
downloadjenkins.debian.net-65ecaccb7049cf180420899fbebe34afae04ee0f.tar.xz
diffoscope distribution tests: remove confusing whitespaces
Diffstat (limited to 'bin/diffoscope_distribution_test.sh')
-rwxr-xr-xbin/diffoscope_distribution_test.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/diffoscope_distribution_test.sh b/bin/diffoscope_distribution_test.sh
index 45b7f60c..2e58f93c 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